CVE-2026-35338: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
A vulnerability in the chmod utility of uutils coreutils allows users to bypass the --preserve-root safety mechanism. The implementation only validates if the target path is literally / and does not canonicalize the path. An attacker or accidental user can use path variants such as /../ or symbolic links to execute destructive recursive operations (e.g., chmod -R 000) on the entire root filesystem, leading to system-wide permission loss and potential complete system breakdown.
AI Analysis
Technical Summary
This 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 destructive recursive operations on the root filesystem by checking if the target path is '/'. However, the check does not canonicalize the path, allowing bypass via path variants like '/../' or symbolic links. Exploiting this can lead to recursive permission changes (e.g., chmod -R 000) on the root filesystem, resulting in loss of file permissions and possible complete system failure. The CVSS 3.1 score is 7.3 (high), reflecting local attack vector with low complexity, requiring low privileges but user interaction, and impacts confidentiality, integrity, and availability.
Potential Impact
Successful exploitation can cause system-wide permission loss by recursively changing permissions on the root filesystem. This can lead to denial of service or complete system breakdown due to inaccessible or improperly permissioned files. The vulnerability affects local users with some privileges and requires user interaction to trigger the destructive operation.
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 chmod utility with recursive operations on paths that could be manipulated via symbolic links or path traversal. Consider using alternative tools or additional manual checks to ensure the target path is canonicalized before recursive permission changes. Monitor vendor channels for official patches or updates.
CVE-2026-35338: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
Description
A vulnerability in the chmod utility of uutils coreutils allows users to bypass the --preserve-root safety mechanism. The implementation only validates if the target path is literally / and does not canonicalize the path. An attacker or accidental user can use path variants such as /../ or symbolic links to execute destructive recursive operations (e.g., chmod -R 000) on the entire root filesystem, leading to system-wide permission loss and potential complete system breakdown.
CVSS v3.1
Score 7.3high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This 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 destructive recursive operations on the root filesystem by checking if the target path is '/'. However, the check does not canonicalize the path, allowing bypass via path variants like '/../' or symbolic links. Exploiting this can lead to recursive permission changes (e.g., chmod -R 000) on the root filesystem, resulting in loss of file permissions and possible complete system failure. The CVSS 3.1 score is 7.3 (high), reflecting local attack vector with low complexity, requiring low privileges but user interaction, and impacts confidentiality, integrity, and availability.
Potential Impact
Successful exploitation can cause system-wide permission loss by recursively changing permissions on the root filesystem. This can lead to denial of service or complete system breakdown due to inaccessible or improperly permissioned files. The vulnerability affects local users with some privileges and requires user interaction to trigger the destructive operation.
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 chmod utility with recursive operations on paths that could be manipulated via symbolic links or path traversal. Consider using alternative tools or additional manual checks to ensure the target path is canonicalized before recursive permission changes. Monitor vendor channels for official patches or updates.
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: 4/22/2026, 4:31:10 PM
Last enriched: 4/30/2026, 8:09:04 AM
Last updated: 6/9/2026, 2:20:27 PM
Views: 134
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.