CVE-2026-35339 uutils coreutils chmod False Success Exit Code in Recursive Mode

Medium 5.5 Published Updated

The chmod utility returns a success exit code despite permission errors, causing scripts to incorrectly assume permissions were applied.

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-35339?

CVE-2026-35339 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 recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of the last file processed. This allows the command to return an exit code of 0 (success) even if errors were encountered on previous files, such as 'Operation not permitted'. Scripts relying on these exit codes may proceed under a false sense of success while sensitive files remain with restrictive or incorrect permissions.

Weakness: CWE-253

Which versions are affected by CVE-2026-35339?

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

PackageAffectedFixed in
uu_chmod crates.ioAll versions0.6.0
uu_chmod crates.ioAll versions0.6.0

Products include Uutils Coreutils.

How do I fix CVE-2026-35339?

Upgrade uu_chmod to 0.6.0 or later.

Is CVE-2026-35339 being exploited?

There is no known exploitation of CVE-2026-35339 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-35339, GHSA-4x34-chg5-mwjj, UBUNTU-CVE-2026-35339.

Is CVE-2026-35339 in your software?

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

Check your SBOMs for free