Vulnerability Description
The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Uutils | Coreutils | - |
Related Weaknesses (CWE)
References
- https://github.com/uutils/coreutils/issues/10019ExploitIssue TrackingVendor Advisory
- https://github.com/uutils/coreutils/issues/10019ExploitIssue TrackingVendor Advisory
FAQ
What is CVE-2026-35360?
CVE-2026-35360 is a vulnerability with a CVSS score of 6.3 (MEDIUM). The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creati...
How severe is CVE-2026-35360?
CVE-2026-35360 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-35360?
Check the references section above for vendor advisories and patch information. Affected products include: Uutils Coreutils.