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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/uutils/coreutils/pull/10067 Exploit, Issue Tracking, Patch
- https://github.com/uutils/coreutils/pull/10067 Exploit, Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.3 · uutilsNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
References 3
- https://github.com/uutils/coreutils/pull/10067 Exploit, Issue Tracking, Patch
- https://github.com/uutils/coreutils/releases/tag/0.6.0 Release Notes
- https://github.com/uutils/coreutils/pull/10067 Exploit, Issue Tracking, Patch