CVE-2026-35364: 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 mv utility of uutils coreutils during cross-device operations. The utility removes the destination path before recreating it through a copy operation. A local attacker with write access to the destination directory can exploit this window to replace the destination with a symbolic link. The subsequent privileged move operation will follow the symlink, allowing the attacker to redirect the write and overwrite an arbitrary target file with contents from the source.
AI Analysis
Technical Summary
This vulnerability involves a TOCTOU race condition in the mv utility of uutils coreutils when performing cross-device moves. The utility removes the destination path before recreating it via a copy operation. During this window, an attacker with local write access to the destination directory can replace the destination with a symbolic link. The subsequent privileged move operation follows the symlink, enabling the attacker to overwrite arbitrary files with the source file's contents. The CVSS 3.1 score is 6.3, reflecting local attack vector with high complexity and low privileges required, no user interaction, unchanged scope, no confidentiality impact, but high integrity and availability impact.
Potential Impact
The vulnerability allows a local attacker with write permissions on the destination directory to overwrite arbitrary files by exploiting a race condition. This can lead to integrity and availability impacts, such as unauthorized modification or destruction of files. There is no confidentiality impact reported. No known exploits are currently in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to destination directories to trusted users only to reduce the risk of exploitation.
CVE-2026-35364: 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 mv utility of uutils coreutils during cross-device operations. The utility removes the destination path before recreating it through a copy operation. A local attacker with write access to the destination directory can exploit this window to replace the destination with a symbolic link. The subsequent privileged move operation will follow the symlink, allowing the attacker to redirect the write and overwrite an arbitrary target file with contents from the source.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a TOCTOU race condition in the mv utility of uutils coreutils when performing cross-device moves. The utility removes the destination path before recreating it via a copy operation. During this window, an attacker with local write access to the destination directory can replace the destination with a symbolic link. The subsequent privileged move operation follows the symlink, enabling the attacker to overwrite arbitrary files with the source file's contents. The CVSS 3.1 score is 6.3, reflecting local attack vector with high complexity and low privileges required, no user interaction, unchanged scope, no confidentiality impact, but high integrity and availability impact.
Potential Impact
The vulnerability allows a local attacker with write permissions on the destination directory to overwrite arbitrary files by exploiting a race condition. This can lead to integrity and availability impacts, such as unauthorized modification or destruction of files. There is no confidentiality impact reported. No known exploits are currently in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to destination directories to trusted users only to reduce the risk of exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.088Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d319fe3cd2cdd00d04
Added to database: 4/22/2026, 4:31:15 PM
Last enriched: 4/22/2026, 4:48:47 PM
Last updated: 4/23/2026, 1:11:12 AM
Views: 4
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.
External Links
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.