CVE-2026-35363: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
CVE-2026-35363 is a path traversal vulnerability in the rm utility of uutils coreutils. The utility is intended to prevent deletion of the current directory by refusing to delete . or .., but it fails to recognize equivalent paths with trailing slashes such as ./ or .///. This flaw allows an execution of rm -rf ./ to recursively delete all contents within the current directory silently. The command misleadingly reports an 'Invalid input' error, potentially causing users to overlook the data loss. The vulnerability has a medium severity with a CVSS score of 5.6.
AI Analysis
Technical Summary
The rm utility in uutils coreutils improperly limits pathnames to restricted directories, specifically failing to treat paths like ./ or ./// as equivalent to . or .., which it correctly refuses to delete. This allows bypassing safeguards that protect the current directory from deletion. Executing rm -rf ./ results in silent recursive deletion of all files and directories in the current directory, accompanied by a misleading error message that may obscure the data loss event. No patch or official remediation has been documented yet.
Potential Impact
This vulnerability can lead to unintended or malicious recursive deletion of all contents in the current directory, causing data loss. The misleading error message may delay user awareness and response, increasing the risk of permanent data loss. There is no indication of confidentiality or integrity impact, but the availability impact is low to medium due to data deletion.
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 commands with paths that include trailing slashes equivalent to . or .., such as ./ or .///. Careful command usage and additional safeguards outside the utility may be necessary to prevent accidental data loss.
CVE-2026-35363: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Uutils coreutils
Description
CVE-2026-35363 is a path traversal vulnerability in the rm utility of uutils coreutils. The utility is intended to prevent deletion of the current directory by refusing to delete . or .., but it fails to recognize equivalent paths with trailing slashes such as ./ or .///. This flaw allows an execution of rm -rf ./ to recursively delete all contents within the current directory silently. The command misleadingly reports an 'Invalid input' error, potentially causing users to overlook the data loss. The vulnerability has a medium severity with a CVSS score of 5.6.
CVSS v3.1
Score 5.6medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The rm utility in uutils coreutils improperly limits pathnames to restricted directories, specifically failing to treat paths like ./ or ./// as equivalent to . or .., which it correctly refuses to delete. This allows bypassing safeguards that protect the current directory from deletion. Executing rm -rf ./ results in silent recursive deletion of all files and directories in the current directory, accompanied by a misleading error message that may obscure the data loss event. No patch or official remediation has been documented yet.
Potential Impact
This vulnerability can lead to unintended or malicious recursive deletion of all contents in the current directory, causing data loss. The misleading error message may delay user awareness and response, increasing the risk of permanent data loss. There is no indication of confidentiality or integrity impact, but the availability impact is low to medium due to data deletion.
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 commands with paths that include trailing slashes equivalent to . or .., such as ./ or .///. Careful command usage and additional safeguards outside the utility may be necessary to prevent 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: 04/22/2026, 16:31:15 UTC
Last enriched: 07/06/2026, 23:15:48 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 82
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.