CVE-2026-35355: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the install utility of uutils coreutils. The vulnerability arises because the utility unlinks an existing destination file and then recreates it without using the O_EXCL flag, allowing a local attacker to swap the file path with a symbolic link. This can lead to privileged writes overwriting arbitrary system files. The vulnerability has a medium severity with a CVSS score of 6.3.
AI Analysis
Technical Summary
The install utility in uutils coreutils is affected by a TOCTOU race condition (CWE-367). Specifically, after unlinking a destination file, the utility recreates it using a path-based operation that does not use the O_EXCL flag. This creates a window where a local attacker can replace the intended file path with a symbolic link, causing privileged writes to be redirected to arbitrary system files. This vulnerability could allow privilege escalation or unauthorized modification of critical files. No official patch or remediation level has been provided as of the published date.
Potential Impact
A local attacker with the ability to manipulate file paths can exploit the race condition to redirect privileged file writes to arbitrary system files. This can result in unauthorized modification of system files, potentially leading to privilege escalation or system compromise. The vulnerability does not impact confidentiality but affects integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the vulnerable install utility in untrusted environments or with elevated privileges. Consider using alternative tools that do not exhibit this vulnerability.
CVE-2026-35355: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
Description
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the install utility of uutils coreutils. The vulnerability arises because the utility unlinks an existing destination file and then recreates it without using the O_EXCL flag, allowing a local attacker to swap the file path with a symbolic link. This can lead to privileged writes overwriting arbitrary system files. The vulnerability has a medium severity with a CVSS score of 6.3.
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 install utility in uutils coreutils is affected by a TOCTOU race condition (CWE-367). Specifically, after unlinking a destination file, the utility recreates it using a path-based operation that does not use the O_EXCL flag. This creates a window where a local attacker can replace the intended file path with a symbolic link, causing privileged writes to be redirected to arbitrary system files. This vulnerability could allow privilege escalation or unauthorized modification of critical files. No official patch or remediation level has been provided as of the published date.
Potential Impact
A local attacker with the ability to manipulate file paths can exploit the race condition to redirect privileged file writes to arbitrary system files. This can result in unauthorized modification of system files, potentially leading to privilege escalation or system compromise. The vulnerability does not impact confidentiality but affects integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the vulnerable install utility in untrusted environments or with elevated privileges. Consider using alternative tools that do not exhibit this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.087Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d019fe3cd2cdd00c7a
Added to database: 04/22/2026, 16:31:12 UTC
Last enriched: 07/07/2026, 12:36:01 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 82
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.