{"id":"GHSA-x2wv-9p67-mh9w","revision":"cebd991f826a4211965d607824b89c7e","records":[{"revision":"cebd991f826a4211965d607824b89c7e","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-x2wv-9p67-mh9w","aliases":["CVE-2026-35350"],"title":"uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails","description":"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.","state":0,"publishedAt":"2026-04-22T18:31:45+00:00","modifiedAt":"2026-09-10T03:51:03.7656587+00:00","affected":[{"ecosystem":"crates.io","name":"coreutils","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"0.8.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-35350","https://github.com/uutils/coreutils/issues/9750","https://github.com/uutils/coreutils"],"sourceUrl":"https://github.com/advisories/GHSA-x2wv-9p67-mh9w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x2wv-9p67-mh9w","identifiers":["GHSA-x2wv-9p67-mh9w","CVE-2026-35350"]},"retained":false,"historicalAffected":[]}],"coverage":[]}