Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Duplicate Advisory: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition

0
Medium
Published: 04/22/2026 (04/22/2026, 18:31:45 UTC)
Source: GCVE Database
Product: coreutils

Description

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-239g-2685-54x3. This link is maintained to preserve external references. ### Original Description The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files.

CVSS v3.1

Score 6.3medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected software

crates.ioghsa
coreutils
Affected versions
<0.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/07/2026, 00:22:23 UTC

Technical Analysis

The install utility in uutils coreutils versions before 0.6.0 is vulnerable to a TOCTOU race condition. Specifically, the process of unlinking an existing destination file followed by recreating it without the O_EXCL flag creates a race window. A local attacker can exploit this window by replacing the file path with a symbolic link, causing privileged writes to be redirected and potentially overwrite arbitrary system files. This vulnerability is classified under CWE-367 and has a moderate severity rating. No known exploits are reported in the wild. The advisory is a duplicate and has been withdrawn, but remains for reference.

Potential Impact

A local attacker with low privileges can exploit the race condition to redirect privileged file writes to arbitrary system files, potentially leading to integrity and availability impacts. Confidentiality impact is not indicated. The vulnerability could allow overwriting critical system files, which may result in system compromise or denial of service.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory GHSA-239g-2685-54x3 for current remediation guidance. Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigations. Until a patch is applied, avoid running the vulnerable install utility in untrusted environments or with elevated privileges.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-v24v-f45g-w7jf
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a4c341a27e9c797195f841b

Added to database: 07/06/2026, 23:02:50 UTC

Last enriched: 07/07/2026, 00:22:23 UTC

Last updated: 07/31/2026, 12:27:30 UTC

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses