Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker gains local user access
-
DeliveryIdentifies coreutils utility in cron or scheduled task
-
ExploitPlaces regular file in predictable location
-
InstallMonitors utility execution
-
C2Swaps file with symlink to sensitive target
-
ExecuteUtility dereferences symlink
-
ImpactAttacker reads or modifies exposed file
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | CRITICAL CONDITIONS: (1) Attacker must have a local user account on the target system (AV:L/PR:L); (2) The target system must be macOS, FreeBSD, or another non-Linux Unix-like OS - Linux systems are not vulnerable because safe_traversal protections are enabled; (3) Attacker must have write access to a directory that will be traversed by a coreutils utility (e.g., a shared /tmp or a directory where the attacker can place files); (4) A coreutils utility must be executed against that directory (often a cron job or scheduled maintenance task); (5) The attacker must execute the symlink swap during the race window, which requires precise timing and repeated attempts (AC:H). LIMITING FACTORS: Requires low-privilege local authentication (not remote), race condition window is typically milliseconds (makes exploitation non-automatable and unreliable), and no user interaction is required. Exploitation is NOT possible against read-only filesystems or in environments where untrusted users lack write access to any directory traversed by coreutils utilities. |
| Impact | CVSS vector (AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N) indicates low to moderate severity: attack requires local access and high attack complexity due to timing sensitivity inherent to race conditions, plus requires low privileges (PR:L), but scope is unchanged and impact is partial confidentiality and integrity loss. EPSS and SSVC both signal limited real-world priority - SSVC shows 'Exploitation: none' (no evidence of active exploitation), 'Automatable: no' (race conditions are difficult to reliably trigger), and 'Technical Impact: partial' (limited data exposure or modification, not system compromise). The gap between CVSS (3.6, low) and real exploitability matches expectations: high CVSS attack complexity combined with non-automatable exploitation significantly reduces practical risk. This is a genuine vulnerability requiring sustained attacker effort and precise timing, not a widespread threat. However, any system where untrusted local users can create symlinks in directories processed by coreutils utilities should prioritize patching. |
| Exploit ScenarioDerived | An attacker with a local user account on macOS or FreeBSD monitors when a sysadmin runs a coreutils utility like 'cp -r /var/data/* /backup/' in a directory where the attacker can create symlinks. During the brief window between when cp stats a file and when it opens it, the attacker swaps a regular file for a symlink pointing to a sensitive file (e.g., /etc/shadow or an application config). The cp utility follows the symlink and copies the sensitive file to the backup directory where the attacker can read it, achieving information disclosure. |
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) symlink race condition vulnerability in uutils coreutils affects directory traversal operations on macOS and FreeBSD because the safe_traversal module's file-descriptor-relative syscall protections are incorrectly limited to Linux targets only. Local authenticated attackers with limited privileges can exploit this race condition to read or modify files via symlink manipulation, though exploitation requires specific timing conditions and is not automatable. EPSS and CISA SSVC assessment indicate partial technical impact with no evidence of active exploitation.
RemediationAI
Upgrade uutils coreutils to version 0.6.0 or later, available from https://github.com/uutils/coreutils/releases/tag/0.6.0. The upstream patch (https://github.com/uutils/coreutils/pull/9792) enables the safe_traversal module's POSIX file-descriptor-relative syscall protections on all Unix-like systems, not just Linux. If immediate upgrade is not feasible, restrict local user access to directories processed by coreutils utilities, particularly those performing directory traversal (cp, mv, install). Alternatively, deploy file monitoring on critical directories to detect symlink creation attempts during coreutils operations, though this is a compensating control with operational overhead and may not catch race conditions due to timing constraints. Note that disabling affected utilities is not practical in most environments and is not recommended as a long-term workaround.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The safe_traversal module in uutils coreutils implements TOCTOU race condition mitigations using file-descriptor-relative syscalls (such as openat, fstatat, etc.), which are POSIX.1-2008 standard syscalls that resolve paths relative to a directory file descriptor rather than the global filesystem, eliminating the window between stat and open operations where a symlink could be swapped. These protections are correctly implemented on Linux targets via the openat and related family of syscalls. However, the conditional compilation logic restricts these protections to Linux only, causing fallback to unsafe direct syscalls on other Unix-like systems including macOS and FreeBSD where the same POSIX syscalls are available. This leaves CWE-367 (Time-of-check Time-of-use TOCTOU Race Condition) vulnerability exposed in any coreutils utility that traverses directories, particularly those handling file operations like cp, mv, or install.
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:N
Primary rating from Vendor (canonical) · only source for this CVE.
CVSS VectorVendor: canonical
Lifecycle Timeline
2DescriptionCVE.org
The safe_traversal module in uutils coreutils, which provides protection against Time-of-Check to Time-of-Use (TOCTOU) symlink races using file-descriptor-relative syscalls, is incorrectly limited to Linux targets. On other Unix-like systems such as macOS and FreeBSD, the utility fails to utilize these protections, leaving directory traversal operations vulnerable to symlink race conditions.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly ex
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
The ln utility in uutils coreutils fails to process source paths containing non-UTF-8 filename bytes when using target-d
The chmod utility in uutils coreutils versions prior to 0.6.0 incorrectly reports success (exit code 0) when recursively
The mknod utility in uutils coreutils creates device nodes before atomically applying SELinux security labels, and fails
The printenv utility in uutils coreutils versions before 0.6.0 silently omits environment variables containing invalid U
Privilege escalation to root in uutils coreutils chroot utility allows low-privileged local attackers with write access
Bypass of --preserve-root protection in uutils coreutils rm utility allows local users to recursively delete the root fi
Local privilege escalation in uutils coreutils before 0.10.0: the `install` utility applies a requested setuid/setgid mo
Logic error in uutils coreutils cut utility causes incorrect behavior when combining the -s (only-delimited), -z (null-t
The id utility in uutils coreutils displays incorrect effective user information in its pretty-print output when real an
EUVD-2026-25006
GHSA-ggc5-46rg-mr4v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB