Description
A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mv utility of uutils coreutils during cross-device operations. The utility removes the destination path before recreating it through a copy operation. A local attacker with write access to the destination directory can exploit this window to replace the destination with a symbolic link. The subsequent privileged move operation will follow the symlink, allowing the attacker to redirect the write and overwrite an arbitrary target file with contents from the source.
Affected products
uutils: coreutils
References2
- github.com/uutils/coreutils/issues/10015 ExploitIssue TrackingVendor Advisory
- github.com/uutils/coreutils/issues/10015 ExploitIssue TrackingVendor Advisory
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: 0 · 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.