uutils coreutils chmod False Success Exit Code in Recursive Mode
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Uutils | coreutils | before 0.6.0 | 0.6.0 | Patch available | CNA |
| — | uu_chmod (crates.io) | before 0.6.0 | 0.6.0 | Patch available | GHSA-4x34-chg5-mwjj |
- coreutils VendorUutils Affected before 0.6.0 Fixed in 0.6.0 Patch available CNA
- uu_chmod (crates.io) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-4x34-chg5-mwjj
Remediation
- Fix · CNA coreutils (Uutils) Fixed in 0.6.0
- Fix · GHSA-4x34-chg5-mwjj uu_chmod (crates.io) Fixed in 0.6.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Uutils coreutils — github.com/uutils/coreutils/releases/tag/0.6.0
12 records Highest priority Priority MEDIUM 3 MEDIUM, 9 LOW
Other records, highest priority first
- TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU RacePriority MEDIUM 61
- TI-2026-27504 uutils coreutils printenv Security Inspection Bypass via UTF-8 EnforcementPriority MEDIUM 54
- TI-2026-27484 uutils coreutils comm Silent Data Corruption via Lossy UTF-8 NormalizationPriority MEDIUM 49
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35339
- 2026-10-03 Alias added: GHSA-4x34-chg5-mwjj
References
Advisory 2
More Uutils Coreutils vulnerabilities
- TI-2026-27506 uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection CVSS 3.1HIGH 7.2
- TI-2026-27498 uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
- TI-2026-27488 uutils coreutils cp Unexpected Privileged Executable Creation with -p CVSS 3.1MEDIUM 6.6
- TI-2026-27502 uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
- TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race CVSS 3.1MEDIUM 6.3
- TI-2026-27511 uutils coreutils ln Local Denial of Service via Improper Handling of Non-UTF-8 Filenames CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-35339 · CVE Program
- CVE-2026-35339 · NVD
- FIRST EPSS
- GHSA-4x34-chg5-mwjj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-35339 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences