CVE-2026-35352
HIGH7.0EPSS 0.01%uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
Published: 4/22/2026Modified: 6/2/2026
Description
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.
Affected packages (2)
- crates.io/coreutilsfrom 0, <= 0.8.0
- Debian/rust-coreutilsfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-35352
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35352
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/issues/10020
- WEBhttp://www.openwall.com/lists/oss-security/2026/05/04/4
- WEBhttp://www.openwall.com/lists/oss-security/2026/05/04/5
- WEBhttp://www.openwall.com/lists/oss-security/2026/05/04/6