CVE-2026-35360: uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition

Published Apr 22, 2026
·
Updated

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 OTRUNC. 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.

Affected Software

2 affected components
uutils uutils coreutils (touch)
uutils Coreutils Rust

Event History

Apr 22, 2026
CVE Published
via MITRE·04:08 PM
Data Sourced
via MITRE·04:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-35360?

CVE-2026-35360 has been classified as a medium severity vulnerability due to the potential for arbitrary file truncation.

2

How do I fix CVE-2026-35360?

To fix CVE-2026-35360, update to the latest version of uutils coreutils where the race condition has been addressed.

3

What systems are affected by CVE-2026-35360?

CVE-2026-35360 affects the uutils coreutils tool, specifically the touch utility.

4

What types of attacks can exploit CVE-2026-35360?

CVE-2026-35360 can be exploited through a Time-of-Check to Time-of-Use race condition, allowing unauthorized file truncation.

5

How can I mitigate the risks associated with CVE-2026-35360?

To mitigate risks related to CVE-2026-35360, avoid using the touch command in environments where untrusted users can manipulate file accesses.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203