CVE-2026-35352: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations.
Published Apr 22, 2026 · Updated May 8, 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).
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations. This redirects the chmod call to an arbitrary file, potentially enabling privilege escalation if the utility is run with elevated privileges.
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) entriesCVE-2026-35344
uutils coreutils has an Unchecked Return Value Issue
low3.3No fixApr 22, 2026CVE-2026-35345
uutils coreutils has a Link Following Issue
medium5.3No fixApr 22, 2026CVE-2026-35348
uutils coreutils has an Uncaught Exception When Encountering Valid but Non-UTF-8 Paths
medium5.5No fixApr 22, 2026CVE-2026-35350
uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails
medium6.6No fixApr 22, 2026CVE-2026-35351
uutils coreutils doesn't preserve file ownership during moves across different filesystem boundaries
medium4.2No fixApr 22, 2026CVE-2026-35354
uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
medium4.7No fixApr 22, 2026
