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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/uutils/coreutils/pull/9706 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.7 · uutilsNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
References 2
- https://github.com/uutils/coreutils/pull/9706 Issue Tracking, Patch
- https://github.com/uutils/coreutils/releases/tag/0.7.0 Release Notes