CVE-2026-35363: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with trailing slashes, such as ./ or .///. An accidental or malicious execution of rm -rf ./ results in the silent recursive deletion of all contents within the current directory. The command further obscures the data loss by reporting a misleading 'Invalid input' error, which may cause users to miss the critical window for data recovery.
AI Analysis
Technical Summary
This vulnerability in uutils coreutils' rm utility involves improper limitation of a pathname to a restricted directory (CWE-22). While safeguards prevent deletion of '.' or '..', the utility does not correctly handle equivalent paths with trailing slashes, allowing bypass of these protections. The command 'rm -rf ./' recursively deletes all files in the current directory without proper warning, and the misleading error message obscures the impact. The CVSS 3.1 score is 5.6 (medium severity) with local attack vector, low complexity, requiring low privileges and user interaction, impacting integrity and availability.
Potential Impact
Successful exploitation results in unintended recursive deletion of all contents in the current directory, causing data loss (integrity and availability impact). The misleading error message may delay user awareness and response, increasing potential damage. There is no indication of confidentiality impact. No known exploits in the wild have been reported.
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 'rm -rf' with paths that include trailing slashes equivalent to '.' or '..'. Careful command usage and validation of input paths can help mitigate accidental data loss.
CVE-2026-35363: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
Description
A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with trailing slashes, such as ./ or .///. An accidental or malicious execution of rm -rf ./ results in the silent recursive deletion of all contents within the current directory. The command further obscures the data loss by reporting a misleading 'Invalid input' error, which may cause users to miss the critical window for data recovery.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in uutils coreutils' rm utility involves improper limitation of a pathname to a restricted directory (CWE-22). While safeguards prevent deletion of '.' or '..', the utility does not correctly handle equivalent paths with trailing slashes, allowing bypass of these protections. The command 'rm -rf ./' recursively deletes all files in the current directory without proper warning, and the misleading error message obscures the impact. The CVSS 3.1 score is 5.6 (medium severity) with local attack vector, low complexity, requiring low privileges and user interaction, impacting integrity and availability.
Potential Impact
Successful exploitation results in unintended recursive deletion of all contents in the current directory, causing data loss (integrity and availability impact). The misleading error message may delay user awareness and response, increasing potential damage. There is no indication of confidentiality impact. No known exploits in the wild have been reported.
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 'rm -rf' with paths that include trailing slashes equivalent to '.' or '..'. Careful command usage and validation of input paths can help mitigate accidental data loss.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.088Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d319fe3cd2cdd00d01
Added to database: 4/22/2026, 4:31:15 PM
Last enriched: 4/22/2026, 4:48:55 PM
Last updated: 4/23/2026, 1:07:04 AM
Views: 6
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.
External Links
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.