The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits even if the chown operation is unsuccessful. This can result in a user-owned copy retaining original privileged bits, creating unexpected privileged executables that violate local security policies. This differs from GNU cp, which clears these bits when ownership cannot be preserved.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/uutils/coreutils/issues/9750 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/uutils/coreutils/issues/9750 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 6.6 · 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/9750 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/uutils/coreutils/issues/9750 Exploit, Issue Tracking, Vendor Advisory