CVE-2026-91205Cockpit-files: cockpit-files: local attacker can hijack file ownership via symlink race
A flaw was found in cockpit-files. A local unprivileged attacker can exploit a race condition during directory creation with owner assignment. By controlling a writable parent directory, the attacker can replace a newly created directory with a symbolic link (symlink) before the ownership change operation (chown) is applied. This allows the attacker to redirect the ownership change to an arbitrary file, potentially leading to information disclosure or unauthorized modification of sensitive files.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cockpit-files | Fix pending | UBUNTU-CVE-2026-91205 | |
| Ubuntu 26.04 | cockpit-files | Under investigation | UBUNTU-CVE-2026-91205 | |
| Debian 14 | cockpit-files | Fixed | 45-1 | DEBIAN-CVE-2026-91205 |
| Red Hat Enterprise Linux 10 | cockpit-files | Fixed | 0:36.1-1.el10_2 | RHSA-2026:98566 |
| Red Hat Enterprise Linux 9 | cockpit-files | Fixed | 0:43.1-1.el9_9 | RHSA-2026:84595 |
| AlmaLinux 10 | cockpit-files | Fixed | 36.1-1.el10_2 | ALSA-2026:98566 |
| AlmaLinux 9 | cockpit-files | Fixed | 43.1-1.el9_9 | ALSA-2026:84595 |
| Rocky Linux 10 | cockpit-files | Fixed | 0:36.1-1.el10_2 | RLSA-2026:98566 |
| Rocky Linux 9 | cockpit-files | Fixed | 0:36.1-1.el9_8 | RLSA-2026:98458 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
Workaround: Avoid using the privileged owner-assignment directory-creation flow in Cockpit Files inside directories that are writable by untrusted local users. Restrict write permissions on shared parent directories, and where directories must remain shared and writable, apply the sticky bit so users cannot replace directory entries they do not own. Creating directories without an owner assignment does not trigger the vulnerable privileged chown path and can be used where the owner-setting feature is not required. Updated packages that address this flaw are being delivered for the actively maintained releases.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:84595 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:95570 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:98458 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:98566 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:84595
- https://access.redhat.com/errata/RHSA-2026:95570
- https://access.redhat.com/errata/RHSA-2026:98458
- https://access.redhat.com/errata/RHSA-2026:98566
- https://access.redhat.com/security/cve/CVE-2026-91205
- https://bugzilla.redhat.com/show_bug.cgi?id=2466442
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.