Bug 2460765 (CVE-2026-35350) - CVE-2026-35350 rust-coreutils: cp: unexpected privileged executable creation with -p
Summary: CVE-2026-35350 rust-coreutils: cp: unexpected privileged executable creation ...
Keywords:
Status: NEW
Alias: CVE-2026-35350
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2461166 2461167
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-22 17:01 UTC by OSIDB Bzimport
Modified: 2026-07-18 08:28 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-22 17:01:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.