CVE-2026-35356: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
CVE-2026-35356 is a Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability in the install utility of uutils coreutils when used with the -D flag. The vulnerability arises because the utility creates parent directories and then resolves the target file path in two separate steps without anchoring these operations to a directory file descriptor. This allows an attacker with concurrent write access to replace a path component with a symbolic link between these steps, potentially redirecting privileged writes to arbitrary filesystem locations. The vulnerability has a medium severity with a CVSS score of 6.3.
AI Analysis
Technical Summary
This vulnerability in uutils coreutils' install utility involves a TOCTOU race condition triggered by the use of the -D flag. The process first creates parent directories and then performs a second path resolution to create the target file. Because neither operation is anchored to a directory file descriptor, an attacker with concurrent write access can exploit the time gap between these operations to replace a path component with a symbolic link. This redirection can cause privileged writes to be performed on arbitrary filesystem locations, potentially leading to unauthorized file modifications or privilege escalation. No official patch or remediation level has been provided at this time.
Potential Impact
The vulnerability allows an attacker with concurrent write access to manipulate the filesystem path between directory creation and file creation steps, causing privileged writes to be redirected to arbitrary locations. This can lead to unauthorized modification of files, potentially impacting system integrity and availability. The CVSS score of 6.3 reflects a medium severity with high impact on integrity and availability, but requiring local access with high attack complexity and low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using the install utility with the -D flag in untrusted or multi-user environments where concurrent write access by attackers is possible. Monitor vendor communications for updates on patches or official mitigations.
CVE-2026-35356: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
Description
CVE-2026-35356 is a Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability in the install utility of uutils coreutils when used with the -D flag. The vulnerability arises because the utility creates parent directories and then resolves the target file path in two separate steps without anchoring these operations to a directory file descriptor. This allows an attacker with concurrent write access to replace a path component with a symbolic link between these steps, potentially redirecting privileged writes to arbitrary filesystem locations. 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
This vulnerability in uutils coreutils' install utility involves a TOCTOU race condition triggered by the use of the -D flag. The process first creates parent directories and then performs a second path resolution to create the target file. Because neither operation is anchored to a directory file descriptor, an attacker with concurrent write access can exploit the time gap between these operations to replace a path component with a symbolic link. This redirection can cause privileged writes to be performed on arbitrary filesystem locations, potentially leading to unauthorized file modifications or privilege escalation. No official patch or remediation level has been provided at this time.
Potential Impact
The vulnerability allows an attacker with concurrent write access to manipulate the filesystem path between directory creation and file creation steps, causing privileged writes to be redirected to arbitrary locations. This can lead to unauthorized modification of files, potentially impacting system integrity and availability. The CVSS score of 6.3 reflects a medium severity with high impact on integrity and availability, but requiring local access with high attack complexity and low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using the install utility with the -D flag in untrusted or multi-user environments where concurrent write access by attackers is possible. Monitor vendor communications for updates on patches or official mitigations.
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: 69e8f7d019fe3cd2cdd00c7e
Added to database: 04/22/2026, 16:31:12 UTC
Last enriched: 07/07/2026, 12:35:37 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 95
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.