Duplicate Advisory: uutils coreutils has a Path Traversal issue
Affects coreutilsSource GCVE Database
CVSS 5.6 Medium.
Data as of 7 Jul 2026, 12:28 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:LWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iocoreutils | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
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.
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.