Duplicate Advisory: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
Affects coreutilsSource GCVE Database
CVSS 6.3 Medium : upgrade to 0.7.0 when convenient.
Data as of 7 Jul 2026, 12:28 UTC
- Patch
- Available – fixed in 0.7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:HWhat to do
Upgrade coreutils to 0.7.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iocoreutils | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigation steps. If you cannot patch yet, avoid using the -D flag in untrusted or concurrent environments to reduce risk.
Description
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-gwm6-q8ch-hcfr. This link is maintained to preserve external references. ### Original 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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-35356 (opens in a new tab)
- github.com/uutils/coreutils/pull/10140 (opens in a new tab)
- github.com/uutils/coreutils/commit/0c41299975f3c1e21cf5ca968d42cad55ceb42a1 (opens in a new tab)
- github.com/uutils/coreutils (opens in a new tab)
- github.com/uutils/coreutils/releases/tag/0.7.0 (opens in a new tab)