CVE-2026-35338: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
CVE-2026-35338 is a path traversal vulnerability in the chmod utility of uutils coreutils. The flaw allows bypassing the --preserve-root safety check because it only validates if the target path is exactly '/' without canonicalizing the path. This enables attackers or users to use path variants or symbolic links to perform recursive destructive operations on the root filesystem, potentially causing system-wide permission loss and complete system failure.
AI Analysis
Technical Summary
The vulnerability in uutils coreutils' chmod utility arises from improper limitation of a pathname to a restricted directory (CWE-22). The --preserve-root option is intended to prevent recursive operations on the root directory by checking if the target path is '/'. However, the implementation does not canonicalize the path, allowing path traversal techniques such as '/../' or symbolic links to bypass this check. Consequently, recursive commands like 'chmod -R 000' can be executed on the entire root filesystem, leading to severe permission and availability impacts.
Potential Impact
Successful exploitation can lead to system-wide loss of file permissions and potential complete system breakdown due to destructive recursive operations on the root filesystem. This impacts confidentiality, integrity, and availability of the system as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using the vulnerable versions of uutils coreutils' chmod utility with recursive operations on root or paths that could be manipulated. Employ manual verification of paths before executing recursive chmod commands to prevent accidental or malicious system-wide changes.
CVE-2026-35338: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
Description
CVE-2026-35338 is a path traversal vulnerability in the chmod utility of uutils coreutils. The flaw allows bypassing the --preserve-root safety check because it only validates if the target path is exactly '/' without canonicalizing the path. This enables attackers or users to use path variants or symbolic links to perform recursive destructive operations on the root filesystem, potentially causing system-wide permission loss and complete system failure.
CVSS v3.1
Score 7.3high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in uutils coreutils' chmod utility arises from improper limitation of a pathname to a restricted directory (CWE-22). The --preserve-root option is intended to prevent recursive operations on the root directory by checking if the target path is '/'. However, the implementation does not canonicalize the path, allowing path traversal techniques such as '/../' or symbolic links to bypass this check. Consequently, recursive commands like 'chmod -R 000' can be executed on the entire root filesystem, leading to severe permission and availability impacts.
Potential Impact
Successful exploitation can lead to system-wide loss of file permissions and potential complete system breakdown due to destructive recursive operations on the root filesystem. This impacts confidentiality, integrity, and availability of the system as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using the vulnerable versions of uutils coreutils' chmod utility with recursive operations on root or paths that could be manipulated. Employ manual verification of paths before executing recursive chmod commands to prevent accidental or malicious system-wide changes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.086Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7ce19fe3cd2cdd00bfd
Added to database: 04/22/2026, 16:31:10 UTC
Last enriched: 07/06/2026, 23:29:29 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 332
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.