{"id":"CVE-2026-35350","state":"PUBLISHED","title":"uutils coreutils cp Unexpected Privileged Executable Creation with -p","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.","publishedAt":"2026-04-22T16:08:02.526Z","updatedAt":"2026-04-22T17:58:14.456Z","severity":{"score":6.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","source":"canonical"},"assigner":"canonical","products":["Uutils coreutils"],"affected":[{"vendor":"Uutils","product":"coreutils","packageName":"coreutils","defaultStatus":"affected","platforms":["Linux","Unix","macOS"],"collectionURL":"https://github.com/uutils","repo":"https://github.com/uutils/coreutils"}],"references":["https://github.com/uutils/coreutils/issues/9750"],"weaknesses":["CWE-281"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35350.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35350","state":"PUBLISHED","datePublished":"2026-04-22T16:08:02.526Z","dateUpdated":"2026-04-22T17:58:14.456Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2026-04-02T12:58:56.087Z"},"containers":{"cna":{"title":"uutils coreutils cp Unexpected Privileged Executable Creation with -p","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Uutils","product":"coreutils","packageName":"coreutils","defaultStatus":"affected","platforms":["Linux","Unix","macOS"],"collectionURL":"https://github.com/uutils","repo":"https://github.com/uutils/coreutils"}],"references":[{"url":"https://github.com/uutils/coreutils/issues/9750","tags":["issue-tracking"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"LOW","baseSeverity":"MEDIUM","baseScore":6.6,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-281","lang":"en","description":"CWE-281: Improper Preservation of Permissions","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2026-04-22T16:08:02.526Z"},"impacts":[{"capecId":"CAPEC-122","descriptions":[{"lang":"en","value":"CAPEC-122: Privilege Abuse"}]}],"credits":[{"lang":"en","value":"Zellic","type":"finder"}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/uutils/coreutils/issues/9750","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-22T17:56:50.879133Z","id":"CVE-2026-35350","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-22T17:58:14.456Z"}}]}}}