CVE-2026-35363
MEDIUM 5.6CVSS 3.1rm: 'rm -rf ./' (and ./// variants) silently deletes current directory contents, bypassing dot protection
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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-693
- Also known as
- GHSA-89p7-7cq3-hhr2
- Sources
- NVDJSONOSV GHSA-89p7-7cq3-hhr2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uutils | coreutilscpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:* |
(no version) | |
| OSV | crates.io | uu_rm | < 0.6.0 | 0.6.0 |
References
- https://github.com/uutils/coreutils/issues/9749 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://github.com/uutils/coreutils/security/advisories/GHSA-89p7-7cq3-hhr2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35363 · ADVISORY
- https://github.com/uutils/coreutils · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)