Duplicate Advisory: uutils coreutils has a Path Traversal issue
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-89p7-7cq3-hhr2. This link is maintained to preserve external references. ### Original 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 Analysis
Technical Summary
The rm utility in uutils coreutils versions up to 0.8.0 contains a path traversal issue where it does not properly handle equivalent current directory paths with trailing slashes. Although it blocks deletion of '.' and '..', it does not block './' or similar variants, allowing recursive deletion of the current directory's contents. The utility also reports a misleading error message, which may prevent timely user response to data loss. This vulnerability is categorized as CWE-22 (Path Traversal) and has a CVSS 3.1 vector indicating local attack complexity, low privileges required, user interaction needed, and impacts integrity and availability.
Potential Impact
An attacker or user with local access and limited privileges can execute 'rm -rf ./' to recursively delete all files and directories in the current working directory. The misleading 'Invalid input' error message may cause the user to overlook the deletion, increasing the risk of significant data loss. There is no confidentiality impact 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 referencing the current directory. Careful command usage and verification can help prevent accidental data loss.
Duplicate Advisory: uutils coreutils has a Path Traversal issue
Description
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-89p7-7cq3-hhr2. This link is maintained to preserve external references. ### Original 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.
CVSS v3.1
Score 5.6medium
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 rm utility in uutils coreutils versions up to 0.8.0 contains a path traversal issue where it does not properly handle equivalent current directory paths with trailing slashes. Although it blocks deletion of '.' and '..', it does not block './' or similar variants, allowing recursive deletion of the current directory's contents. The utility also reports a misleading error message, which may prevent timely user response to data loss. This vulnerability is categorized as CWE-22 (Path Traversal) and has a CVSS 3.1 vector indicating local attack complexity, low privileges required, user interaction needed, and impacts integrity and availability.
Potential Impact
An attacker or user with local access and limited privileges can execute 'rm -rf ./' to recursively delete all files and directories in the current working directory. The misleading 'Invalid input' error message may cause the user to overlook the deletion, increasing the risk of significant data loss. There is no confidentiality impact 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 referencing the current directory. Careful command usage and verification can help prevent accidental data loss.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vchc-9ggh-3236
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a4c340827e9c797195f6894
Added to database: 07/06/2026, 23:02:32 UTC
Last enriched: 07/06/2026, 23:15:53 UTC
Last updated: 07/31/2026, 12:27:13 UTC
Views: 15
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.