Vulnerability · Published Apr 22, 2026 · Assigned by canonical
CVE-2026-35350uutils coreutils cp Unexpected Privileged Executable Creation with -p
Medium 6.6
In plain English
A medium-severity security flaw in coreutils from Uutils. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-coreutils | no fix listed | DEBIAN-CVE-2026-35350 |
| Debian:13 | rust-coreutils | no fix listed | DEBIAN-CVE-2026-35350 |
| Debian:14 | rust-coreutils | 0.8.0-1 | DEBIAN-CVE-2026-35350 |
| Ubuntu:24.04:LTS | rust-coreutils | no fix listed | UBUNTU-CVE-2026-35350 |
| Ubuntu:25.10 | rust-coreutils | no fix listed | UBUNTU-CVE-2026-35350 |
| Ubuntu:26.04:LTS | rust-coreutils | no fix listed | UBUNTU-CVE-2026-35350 |
| Ubuntu:26.10 | rust-coreutils | no fix listed | UBUNTU-CVE-2026-35350 |
Affected products (as reported)
Weakness: CWE-281 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
References
- https://github.com/uutils/coreutils/issues/9750 issue-tracking