CVE-2026-35360

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.
References
Link Resource
https://github.com/uutils/coreutils/issues/10019 Exploit Issue Tracking Vendor Advisory
https://github.com/uutils/coreutils/issues/10019 Exploit Issue Tracking Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*

History

24 Apr 2026, 19:02

Type Values Removed Values Added
CPE cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*
References () https://github.com/uutils/coreutils/issues/10019 - () https://github.com/uutils/coreutils/issues/10019 - Exploit, Issue Tracking, Vendor Advisory
First Time Uutils
Uutils coreutils

22 Apr 2026, 19:17

Type Values Removed Values Added
References () https://github.com/uutils/coreutils/issues/10019 - () https://github.com/uutils/coreutils/issues/10019 -

22 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 17:16

Updated : 2026-04-24 19:02


NVD link : CVE-2026-35360

Mitre link : CVE-2026-35360

CVE.ORG link : CVE-2026-35360


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition