ADVISORIES

Vulnerability

CVE-2026-35349

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Ubuntu 1crates.io 1

Advisories

  • DEBIAN-CVE-2026-35349

    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…

    CVE-2026-35349 Debian Updated 27 October 2026
  • GHSA-7cr3-h577-g38j

    rm: --preserve-root bypassed via a symlink to / (string check instead of dev/inode)

    Moderate CVE-2026-35349 crates.io Updated 6 July 2026
  • UBUNTU-CVE-2026-35349

    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…

    CVE-2026-35349 Ubuntu Updated 14 May 2026

References