CVE-2026-35349
uutils coreutils Path-Based Safety Bypass with --preserve-root
- State
- Published
- Severity
- 6.7 Medium
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Reserved
- Apr 2, 2026
Description
A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker or accidental user can bypass this safeguard by using a symbolic link that resolves to the root directory (e.g., /tmp/rootlink -> /), potentially leading to the unintended recursive deletion of the entire root filesystem.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.7 Medium | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H | canonical |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
Affected Products
| Product | Versions |
|---|---|
coreutilsUutils |
|
References
- https://github.com/uutils/coreutils/pull/9706issue-trackingpatch
- https://github.com/uutils/coreutils/releases/tag/0.7.0vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.