{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-35350","id":"CVE-2026-35350","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. ","descriptionLong":"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.","published":"2026-04-22T16:08:02.526Z","updated":"2026-10-26T21:10:00.170Z","reserved":"2026-04-02T12:58:56.087Z","status":"Analyzed","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","rating":"medium","source":"canonical"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","rating":"medium","source":"ubuntu.com"}],"rating":"medium","products":["Uutils coreutils"],"affectedProducts":[{"vendor":"Uutils","product":"coreutils","defaultStatus":"affected","versions":[],"platforms":["Linux","Unix","macOS"]}],"packages":[],"cwes":["CWE-281"],"aliases":[],"references":[{"url":"https://github.com/uutils/coreutils/issues/9750","tags":["issue-tracking","exploit","Exploit","Issue Tracking","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0013,"epssPercentile":0.02738,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-35350","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35350","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-35350","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-35350","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}