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.
References
| Link | Resource |
|---|---|
| https://github.com/uutils/coreutils/pull/9706 | Issue Tracking Patch |
| https://github.com/uutils/coreutils/releases/tag/0.7.0 | Release Notes |
Configurations
History
No history.
Information
Published : 2026-04-22 17:16
Updated : 2026-06-17 10:40
NVD link : CVE-2026-35349
Mitre link : CVE-2026-35349
CVE.ORG link : CVE-2026-35349
JSON object : View
Products Affected
uutils
- coreutils
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
