CVE-2026-35356
MEDIUM6.3EPSS 0.01%uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
Published: 4/22/2026Modified: 5/5/2026
Description
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of which is anchored to a directory file descriptor. An attacker with concurrent write access can replace a path component with a symbolic link between these operations, redirecting the privileged write to an arbitrary file system location.
Affected packages (2)
- crates.io/coreutilsfrom 0, < 0.7.0
- Debian/rust-coreutilsfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-35356
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35356
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/commit/0c41299975f3c1e21cf5ca968d42cad55ceb42a1
- WEBhttps://github.com/uutils/coreutils/pull/10140
- WEBhttps://github.com/uutils/coreutils/releases/tag/0.7.0