CVE Catalog

CVE-2026-35350

MediumCVSS 6.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

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.

Risk Assessment

Unexpected privileged executables owned by a regular user may be created, violating local security policies and potentially enabling privilege escalation.

Recommendation

Update uutils coreutils to a version containing the fix. Until then, avoid copying files with setuid/setgid bits using the -p flag when ownership preservation may fail.

Other vulnerabilities in uutils coreutils

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS