cve.bz

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

6.0 mediumEPSS 0.1%Fix available

Medium (6.0) in red hat. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.0 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 1st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-363 Race Condition Enabling Link Following
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:36.1-1.el10_2
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:43.1-1.el10_3
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:36.1-1.el9_8
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:43.1-1.el9_9
  • Debian, Red Hat, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-91205 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-91205?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-91205?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-91205 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 9

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:36.1-1.el10_2
Red Hat Enterprise Linux 100:43.1-1.el10_3
Red Hat Enterprise Linux 90:36.1-1.el9_8
Red Hat Enterprise Linux 90:43.1-1.el9_9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14cockpit-files45-1DEBIAN-CVE-2026-91205
Ubuntu26.04:LTS, 26.10cockpit-filesno fix listedUBUNTU-CVE-2026-91205
Red Hatenterprise_linux:9::appstreamcockpit-files0:36.1-1.el9_8RHSA-2026:84595
Red Hatenterprise_linux:9::appstreamcockpit-files0:43.1-1.el9_9RHSA-2026:98458
Red Hatenterprise_linux:10.2cockpit-files0:36.1-1.el10_2RHSA-2026:95570
Red Hatenterprise_linux:10.3cockpit-files0:43.1-1.el10_3RHSA-2026:98566
AlmaLinux9cockpit-files36.1-1.el9_8ALSA-2026:84595
AlmaLinux10cockpit-files36.1-1.el10_2ALSA-2026:95570
Rocky Linux9cockpit-files0:36.1-1.el9_8RLSA-2026:84595
Rocky Linux9cockpit-files0:43.1-1.el9_9RLSA-2026:98458
Rocky Linux10cockpit-files0:36.1-1.el10_2RLSA-2026:95570
Rocky Linux10cockpit-files0:43.1-1.el10_3RLSA-2026:98566

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate severity symlink race condition was found in cockpit-files, which affects the cockpit-files package as shipped in Red Hat Enterprise Linux 9 and 10, Red Hat In-Vehicle OS, and Fedora. When a user creates a directory with an owner assignment through Cockpit Files, the privileged directory creation (mkdir) and ownership change (chown) are performed as two separate operations on the same pathname. A local unprivileged attacker who can write to the parent directory can replace the newly created directory entry with a symlink in the window between the two operations, redirecting the privileged ownership change onto an arbitrary file of the attacker's choosing. If the race is won, ownership of sensitive files such as /etc/shadow can be transferred to the attacker, resulting in information disclosure or unauthorized modification of those files. Exploitation is materially constrained: it requires local access, an attacker-writable parent directory, user interaction to trigger the directory-creation flow with owner assignment, and winning the race window. This is reflected in the CVSS 3.1 score of 6.0 (AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N), which is consistent between Red Hat and the upstream CVE record. A fix is being pursued for the actively maintained Red Hat Enterprise Linux and Fedora releases. For the deferred streams (RHEL 9.6.z, RHEL 10.0.z, and the Red Hat In-Vehicle OS streams), the fix is deferred given the moderate severity and the practical difficulty of exploitation; the residual risk is limited to systems where untrusted local users have write access to directories used as parents for the privileged owner-assignment flow.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10cockpit-files-0:36.1-1.el10_2Fixed 2026-11-05RHSA-2026:95570
Red Hat Enterprise Linux 10cockpit-files-0:43.1-1.el10_3Fixed 2026-11-11RHSA-2026:98566
Red Hat Enterprise Linux 9cockpit-files-0:36.1-1.el9_8Fixed 2026-10-19RHSA-2026:84595

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-91205.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON