CVE-2026-35350 uutils coreutils cp Unexpected Privileged Executable Creation with -p

Medium 6.6 Published Updated

Attackers can create privileged executables via cp -p when ownership preservation fails, enabling local privilege escalation in uutils coreutils.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-35350?

CVE-2026-35350 is a medium-severity vulnerability in Uutils coreutils, published on 22 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-281

Which versions are affected by CVE-2026-35350?

2 open source packages ship an affected version, including coreutils. It affects 1 product.

PackageAffectedFixed in
coreutils crates.ioAll versions to 0.8.0None
coreutils crates.ioAll versions to 0.8.0None

Products include Uutils Coreutils.

How do I fix CVE-2026-35350?

Apply the vendor's patch.

Is CVE-2026-35350 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35350 exists.

Sources

Also known as DEBIAN-CVE-2026-35350, GHSA-x2wv-9p67-mh9w, UBUNTU-CVE-2026-35350.

Is CVE-2026-35350 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free