A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the mv utility of uutils coreutils during cross-device moves. The extended attribute (xattr) preservation logic uses multiple path-based system calls that perform fresh path-to-inode lookups for each operation. A local attacker with write access to the directory can exploit this race to swap files between calls, causing the destination file to receive an inconsistent mix of security xattrs, such as SELinux labels or file capabilities.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/uutils/coreutils/issues/10014 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/uutils/coreutils/issues/10014 Exploit, Issue Tracking, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.7 · uutilsNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*
References 2
- https://github.com/uutils/coreutils/issues/10014 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/uutils/coreutils/issues/10014 Exploit, Issue Tracking, Vendor Advisory