Duplicate Advisory: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-gwm6-q8ch-hcfr. This link is maintained to preserve external references. ### Original Description A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of which is anchored to a directory file descriptor. An attacker with concurrent write access can replace a path component with a symbolic link between these operations, redirecting the privileged write to an arbitrary file system location.
AI Analysis
Technical Summary
The uutils coreutils install utility (versions prior to 0.7.0) contains a TOCTOU race condition triggered by the use of the -D flag. The process involves creating parent directories followed by a second path resolution to create the target file, neither operation anchored to a directory file descriptor. An attacker with concurrent write access can exploit the window between these operations to replace a path component with a symbolic link, causing privileged writes to be redirected to unintended filesystem locations. This vulnerability is classified under CWE-367 (Time-of-Check to Time-of-Use Race Condition). The advisory is marked as a duplicate and withdrawn, referencing GHSA-gwm6-q8ch-hcfr for the original report.
Potential Impact
Exploitation of this TOCTOU vulnerability can lead to unauthorized redirection of privileged file writes to arbitrary locations, potentially allowing an attacker to overwrite critical files or escalate privileges. The CVSS 3.1 vector indicates low attack vector (local), high attack complexity, low privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and high availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory GHSA-gwm6-q8ch-hcfr for current remediation guidance. Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigation steps. Until a fix is applied, avoid using the -D flag in untrusted or concurrent environments to reduce risk.
Duplicate Advisory: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
Description
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-gwm6-q8ch-hcfr. This link is maintained to preserve external references. ### Original Description A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of which is anchored to a directory file descriptor. An attacker with concurrent write access can replace a path component with a symbolic link between these operations, redirecting the privileged write to an arbitrary file system location.
CVSS v3.1
Score 6.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The uutils coreutils install utility (versions prior to 0.7.0) contains a TOCTOU race condition triggered by the use of the -D flag. The process involves creating parent directories followed by a second path resolution to create the target file, neither operation anchored to a directory file descriptor. An attacker with concurrent write access can exploit the window between these operations to replace a path component with a symbolic link, causing privileged writes to be redirected to unintended filesystem locations. This vulnerability is classified under CWE-367 (Time-of-Check to Time-of-Use Race Condition). The advisory is marked as a duplicate and withdrawn, referencing GHSA-gwm6-q8ch-hcfr for the original report.
Potential Impact
Exploitation of this TOCTOU vulnerability can lead to unauthorized redirection of privileged file writes to arbitrary locations, potentially allowing an attacker to overwrite critical files or escalate privileges. The CVSS 3.1 vector indicates low attack vector (local), high attack complexity, low privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and high availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory GHSA-gwm6-q8ch-hcfr for current remediation guidance. Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigation steps. Until a fix is applied, avoid using the -D flag in untrusted or concurrent environments to reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m26v-hjq3-x245
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a4c341a27e9c797195f83fd
Added to database: 07/06/2026, 23:02:50 UTC
Last enriched: 07/07/2026, 00:22:32 UTC
Last updated: 07/31/2026, 12:27:30 UTC
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.