Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconLocal user gains write access to target directory
-
DeliveryMonitor chcon recursive traversal
-
ExploitInject symlink or rename file during traversal
-
Installchcon validates original target path
-
C2chcon applies label to symlink target or renamed file
-
ExecuteUnintended file security context modified
-
ImpactSELinux policy enforcement compromised
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires the following specific conditions: (1) the attacker must have write access to a directory tree being subjected to a recursive chcon operation; (2) the chcon command must be executed by a process with higher privileges than the attacker (typically root); (3) the attacker must be able to inject a symbolic link or rename files within the target directory tree during the narrow window between path validation and label application; (4) the chcon utility version must be earlier than 0.8.0. The attack is limited by the unpredictability of the race condition window-successful exploitation requires winning a timing race and is not reliably automatable. Default SELinux administrative workflows that restrict write access to directories being relabeled significantly reduce exploitability. |
| Impact | This vulnerability presents low-to-moderate real-world risk despite its moderate CVSS score of 4.5. The SSVC decision framework assessment (Exploitation: none, Automatable: no, Technical Impact: partial) aligns with the CVSS rating and indicates this is not a priority emergency. While the attack vector is local (AV:L) and requires low-level privileges (PR:L), the high attack complexity (AC:H) significantly restricts practical exploitation-an attacker must win a timing-sensitive race condition, which is notoriously unreliable and difficult to weaponize reliably. The CISA SSVC framework explicitly marks exploitation as 'none,' meaning there is no confirmed active exploitation or well-documented proof-of-concept demonstrating reliable weaponization. The technical impact is partial rather than complete, limiting blast radius to security label modifications rather than full system compromise. Environments where unprivileged users have write access to directories being recursively relabeled by privileged processes are relatively uncommon. This is a genuine vulnerability that requires patching in security-sensitive deployments, but it does not warrant emergency response procedures typical of critical remote code execution flaws. |
| Exploit ScenarioDerived | A local user with write access to a shared directory being recursively relabeled by root via chcon -R monitors the filesystem for the moment when the chcon process checks a symbolic link within that directory. The attacker quickly creates a symbolic link pointing to a sensitive system file (e.g., /etc/security/selinux/contexts/file_contexts) before the relabeling operation is applied. If the timing aligns, the security label modification is applied to the symlink target instead of the intended directory, potentially altering SELinux policy enforcement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
Time-of-Check to Time-of-Use (TOCTOU) race condition in the chcon utility of uutils coreutils allows local attackers with directory write access to redirect recursive security label operations to unintended files or directories via symbolic link or rename races, potentially compromising SELinux security controls. The vulnerability affects versions prior to 0.8.0 and requires low privileges and high attack complexity to exploit, making it a moderate-severity issue with partial technical impact.
RemediationAI
Vendor-released patch: upgrade uutils coreutils to version 0.8.0 or later. The patch addresses the TOCTOU vulnerability by implementing file descriptor anchoring during recursive traversal operations. Organizations using uutils coreutils should prioritize this upgrade in their next maintenance cycle, particularly if running chcon commands with elevated privileges on shared or untrusted file systems. Interim workarounds while patching is pending include restricting write access to directories being recursively relabeled (tighten directory permissions prior to chcon execution), avoiding recursive (-R) chcon operations on directories with untrusted write access, or temporarily disabling unprivileged user write access to target directories during privileged chcon operations-though these workarounds degrade administrative flexibility and are not long-term solutions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The chcon utility is responsible for changing SELinux security context labels on files and directories. The vulnerability stems from how recursive operations resolve target paths using fresh path lookups via fts_accpath instead of maintaining file descriptor anchors throughout the traversal. This implementation pattern is susceptible to Time-of-Check to Time-of-Use (TOCTOU) race conditions as defined in CWE-367, where the state of a resource (file system path) can change between the moment it is checked and the moment the privileged operation is applied. An attacker with write access to the directory tree being traversed can exploit the window between path validation and label application by performing symbolic link injection or renaming operations, causing the security label modifications to be applied to files other than the originally intended targets.
Know when Coreutils 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:N/S:U/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the chcon utility of uutils coreutils during recursive operations. The implementation resolves recursive targets using a fresh path lookup (via fts_accpath) rather than binding the traversal and label application to the specific directory state encountered during traversal. Because these operations are not anchored to file descriptors, a local attacker with write access to a directory tree can exploit timing-sensitive rename or symbolic link races to redirect a privileged recursive relabeling operation to unintended files or directories. This vulnerability breaks the hardening expectations for SELinux administration workflows and can lead to the unauthorized modification of security labels on sensitive system objects.
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.
The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly ex
Privilege escalation to root in uutils coreutils chroot utility allows low-privileged local attackers with write access
Local privilege escalation in uutils coreutils before 0.10.0: the `install` utility applies a requested setuid/setgid mo
Recursive chmod operations can bypass --preserve-root protection in uutils coreutils versions prior to 0.6.0, allowing l
Local privilege escalation in uutils coreutils mkfifo allows authenticated users to downgrade permissions on arbitrary f
Privilege escalation in uutils coreutils mkfifo utility allows local attackers with low privileges to manipulate file pe
Bypass of --preserve-root protection in uutils coreutils rm utility allows local users to recursively delete the root fi
The mv utility in uutils coreutils improperly expands symbolic links instead of preserving them during moves across file
The cp utility in uutils coreutils improperly preserves setuid and setgid bits when the chown operation fails during fil
The split utility in uutils coreutils contains a time-of-check to time-of-use (TOCTOU) race condition that allows local
A time-of-check to time-of-use (TOCTOU) race condition in the mv utility of uutils coreutils during cross-device move op
The touch utility in uutils coreutils suffers from a Time-of-Check to Time-of-Use (TOCTOU) race condition that allows lo
EUVD-2026-25028
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB