medium6.3
CVE-2026-35356
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag.
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | uu_install | < 0.7.0 | 0.7.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Uutils | Coreutils | before 0.7.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-gwm6-q8ch-hcfr
- https://github.com/uutils/coreutils/security/advisories/GHSA-gwm6-q8ch-hcfr
- https://nvd.nist.gov/vuln/detail/CVE-2026-35356
- https://github.com/uutils/coreutils/pull/10140
- https://github.com/uutils/coreutils/commit/0c41299975f3c1e21cf5ca968d42cad55ceb42a1
- https://github.com/uutils/coreutils/releases/tag/0.7.0