CVE-2026-35360
Last modified
CVE-2026-35360 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uutils | Coreutils | All versions |
References
- https://github.com/uutils/coreutils/issues/10019Exploit, Issue Tracking, Vendor Advisory
- https://github.com/uutils/coreutils/issues/10019Exploit, Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-35360?
How severe is CVE-2026-35360?
How do I fix CVE-2026-35360?
Are you affected by CVE-2026-35360?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
