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.6.0 when convenient.
Data as of 7 Jul 2026, 12:28 UTC
- Patch
- Available – fixed in 0.6.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.6.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 mitigations. If you cannot patch yet, avoid running the vulnerable install utility in untrusted environments or with elevated privileges.
Description
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-239g-2685-54x3. This link is maintained to preserve external references. ### Original Description The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files.
References
- nvd.nist.gov/vuln/detail/CVE-2026-35355 (opens in a new tab)
- github.com/uutils/coreutils/pull/10067 (opens in a new tab)
- github.com/uutils/coreutils/commit/b5bbabc18a1121908848d836f869a4e98eb63886 (opens in a new tab)
- github.com/uutils/coreutils (opens in a new tab)
- github.com/uutils/coreutils/releases/tag/0.6.0 (opens in a new tab)