CVEfocus › CVE database › CVE-2026-91205

CVE-2026-91205Cockpit-files: cockpit-files: local attacker can hijack file ownership via symlink race

CVSS 6.0 MediumEPSS 0.1% (higher than 1% of CVEs)Published 2026-09-18Updated 2026-11-11Assigner: redhat

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.

CWE-363

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

7Fixed
1Fix pending
1Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cockpit-filesFix pendingUBUNTU-CVE-2026-91205
Ubuntu 26.04cockpit-filesUnder investigationUBUNTU-CVE-2026-91205
Debian 14cockpit-filesFixed45-1DEBIAN-CVE-2026-91205
Red Hat Enterprise Linux 10cockpit-filesFixed0:36.1-1.el10_2RHSA-2026:98566
Red Hat Enterprise Linux 9cockpit-filesFixed0:43.1-1.el9_9RHSA-2026:84595
AlmaLinux 10cockpit-filesFixed36.1-1.el10_2ALSA-2026:98566
AlmaLinux 9cockpit-filesFixed43.1-1.el9_9ALSA-2026:84595
Rocky Linux 10cockpit-filesFixed0:36.1-1.el10_2RLSA-2026:98566
Rocky Linux 9cockpit-filesFixed0:36.1-1.el9_8RLSA-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.

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:

References

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.