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.
Affected products
uutils: coreutils
References3
- github.com/uutils/coreutils/pull/10067 ExploitIssue TrackingPatch
- github.com/uutils/coreutils/pull/10067 ExploitIssue TrackingPatch
- github.com/uutils/coreutils/releases/tag/0.6.0 Release Notes
Metrics
- CVSS 3.1
-
6.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H - EPSS — exploit probability
- 0% percentile: 2 · as of 13 November 2026
- CWE
- CWE-367
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.