CVE-2026-35349 uutils coreutils Path-Based Safety Bypass with --preserve-root
Attackers can bypass rm's root protection via symlinks, causing accidental or malicious deletion of the entire root filesystem.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-35349?
CVE-2026-35349 is a medium-severity path traversal vulnerability in Uutils coreutils, published on 22 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-59
Which versions are affected by CVE-2026-35349?
2 open source packages ship an affected version, including uu_rm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
uu_rm crates.io | All versions | 0.7.0 |
uu_rm crates.io | All versions | 0.7.0 |
Products include Uutils Coreutils.
How do I fix CVE-2026-35349?
Upgrade uu_rm to 0.7.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-35349 being exploited?
There is no known exploitation of CVE-2026-35349 in the wild and no public exploit code.
Other vulnerabilities in Uutils coreutils
- CVE-2026-35338 uutils coreutils chmod Path Traversal Bypass of --preserve-root
- CVE-2026-35368 uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection
- CVE-2026-35341 uutils coreutils mkfifo Unauthorized Permission Change on Existing Files
- CVE-2026-35352 uutils coreutils mkfifo Privilege Escalation via TOCTOU Race Condition
- CVE-2026-35350 uutils coreutils cp Unexpected Privileged Executable Creation with -p
Sources
Also known as DEBIAN-CVE-2026-35349, GHSA-7cr3-h577-g38j, UBUNTU-CVE-2026-35349.