NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-35360: uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

mediumCVSS 3.1 6.3GHSA-q6m9-xj2w-xmrc

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.

Published Apr 22, 2026 · Updated Apr 30, 2026

Affected packages

coreutils

Ecosystem
Rust (crates.io)
Affected
<= 0.8.0
Fixed in
No patched version yet
Check
cargo tree -i coreutils

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries