Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local unprivileged shell
-
DeliveryStage writable parent directory attacker controls
-
ExploitWin TOCTOU race, swap new dir for symlink
-
Executionchown redirected to arbitrary target file
-
ImpactGain ownership, disclose or modify sensitive file
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Race condition in multi-threaded env
|
| Exploitation Conditions | Requires a local unprivileged shell on a RHEL 9 or RHEL 10 host with cockpit-files installed and in use. The attacker must control a writable parent directory and must win a TOCTOU race by replacing a newly created directory with a symlink in the narrow window before cockpit-files applies the chown ownership change. Critically, exploitation depends on a privileged operator triggering a directory-creation-with-owner-assignment action via cockpit-files (UI:R) in the attacker-influenced location. Limiting factors: local access only (no remote vector), high attack complexity from the timing race (AC:H), dependence on a victim-initiated privileged action, and the need for cockpit-files to be deployed and actively used. |
| Impact | This is a genuine but modest-priority local privilege/integrity issue rather than a mass-exploitation threat. The vendor CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N, base 6.0) is internally consistent with the description: exploitation is local (AV:L), requires an existing unprivileged foothold (PR:L), depends on winning a tight TOCTOU timing window (AC:H), and requires a privileged victim action - an administrator performing directory-creation-with-owner-assignment via cockpit-files (UI:R). No EPSS score, no CISA KEV listing, and no public exploit are provided, so this is 'no public exploit identified at time of analysis.' The combination of local vector, high attack complexity (race condition), and dependence on a victim-triggered privileged operation strongly limits real-world exploitability - this is a targeted, timing-sensitive local attack, not something that will be sprayed at scale. The C:H/I:H rating is reasonable because redirecting a chown to an arbitrary path can hand the attacker ownership of a sensitive file, enabling both disclosure and modification; A:N is appropriate as availability is not affected. No signals conflict, but note the absence of EPSS/KEV/POC data is consistent with a newly reported, race-based local flaw with no known weaponization. |
| Exploit ScenarioDerived | A local unprivileged user on a RHEL 9/10 host running cockpit-files pre-stages a symlink swap in a directory they can write to. When an administrator uses cockpit-files to create a new directory there with an owner assignment, the attacker wins the race and replaces the just-created directory with a symlink before the chown runs, redirecting ownership of an arbitrary sensitive file to themselves. No public exploit code is identified at time of analysis, and success depends on repeatedly winning a narrow timing window. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
A local time-of-check/time-of-use (TOCTOU) race condition in cockpit-files on Red Hat Enterprise Linux 9 and 10 allows an unprivileged local attacker to redirect a privileged chown operation to an arbitrary file by replacing a newly created directory with a symlink, resulting in potential information disclosure or unauthorized modification of sensitive files. Exploitation requires a privileged operator to trigger directory creation with owner assignment via cockpit-files inside an attacker-controlled writable parent directory, and the attacker must win a narrow timing window (CVSS 3.1: AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N, 6.0). No public exploit code or confirmed active exploitation was identified at time of analysis; this is a modest-priority local privilege/integrity issue rather than a mass-exploitation threat.
RemediationAI
No vendor-released patched version is identified in the provided data at time of analysis; consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-91205 and Bugzilla entry https://bugzilla.redhat.com/show_bug.cgi?id=2466442 for updated patch and mitigation guidance. Until a fix is available, the most effective compensating control is to ensure that any directory used by cockpit-files for directory creation with owner assignment is not writable by unprivileged local users (remove world- and group-write bits, and if possible restrict the parent directory to root or a trusted administrative group); this blocks the attacker from staging the symlink replacement, but it may disrupt legitimate shared-folder workflows that rely on those permissions. Organizations can also reduce exposure by limiting the use of cockpit-files' directory-creation-with-ownership feature to trusted operators and monitoring for unexpected chown or symlink activity on sensitive paths via filesystem auditing; disabling or not deploying the cockpit-files component on RHEL 9/10 hosts where file management through Cockpit is not required eliminates the flaw entirely, at the cost of losing that file-browsing capability. Kernel-level protections such as fs.protected_symlinks and fs.protected_hardlinks reduce but do not fully eliminate user-controlled symlink attacks, so they should be treated only as defense-in-depth rather than a replacement for the vendor fix. Apply the vendor patch promptly once it is released.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cockpit-files is a component of the Cockpit web-based management console, commonly deployed on Red Hat Enterprise Linux 9 and 10, that provides file-browser and file-management capabilities including directory creation with an owner/group assignment option. The implementation typically follows a sequence of mkdir followed by a separate chown to apply the requested ownership. The bug is a classic TOCTOU race, mapped to CWE-363 (missing or incorrect ownership check) manifesting as a symlink-following race: between the directory creation and the chown, an attacker who controls the writable parent directory can remove the new directory and substitute a symbolic link pointing to a target file. The subsequent chown resolves the symlink and changes ownership of that target, defeating the intended restriction that the ownership change apply only to the newly created directory. The CVSS vector confirms local access (AV:L), high attack complexity (AC:H) due to the timing race, low privileges required (PR:L), and user interaction (UI:R) because a privileged operator must initiate the directory-creation action. Confidentiality and integrity impacts are high (C:H/I:H) while availability is not impacted (A:N), consistent with the ability to read or modify sensitive files owned by the privileged context.
Know when Cockpit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Local unprivileged foothold (AV:L/PR:L), a hard-to-win TOCTOU race (AC:H) triggered by a privileged operator's action (UI:R); arbitrary-file ownership redirection yields high confidentiality and integrity impact, no availability effect.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit
Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s
Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t
SSRF (Server Side Request Forgery) in /assets/lib/fuc.js.php in Cockpit 0.4.4 through 0.5.5 allows remote attackers to r
PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v
A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi
Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever
Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab
Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.
Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr
EUVD-2026-83291
GHSA-5jj9-v4xp-h5h5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB