A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without the O_NOFOLLOW flag. An attacker with concurrent write access can swap a regular file for a symbolic link during this window, causing a privileged cp process to copy the contents of arbitrary sensitive files into a destination controlled by the attacker.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/uutils/coreutils/issues/10017 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/uutils/coreutils/issues/10017 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/10017 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/uutils/coreutils/issues/10017 Exploit, Issue Tracking, Vendor Advisory