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.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)0.1%top 97.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12rust-coreutilsno fix listedDEBIAN-CVE-2026-35350
Debian:13rust-coreutilsno fix listedDEBIAN-CVE-2026-35350
Debian:14rust-coreutils0.8.0-1DEBIAN-CVE-2026-35350
Ubuntu:24.04:LTSrust-coreutilsno fix listedUBUNTU-CVE-2026-35350
Ubuntu:25.10rust-coreutilsno fix listedUBUNTU-CVE-2026-35350
Ubuntu:26.04:LTSrust-coreutilsno fix listedUBUNTU-CVE-2026-35350
Ubuntu:26.10rust-coreutilsno fix listedUBUNTU-CVE-2026-35350

Affected products (as reported)

VendorProductVersions
Uutils coreutils see references

Weakness: CWE-281 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

References