CVE-2026-35349 PUBLISHED

uutils coreutils Path-Based Safety Bypass with --preserve-root

Assigner: canonical
Reserved: 02.04.2026 Published: 22.04.2026 Updated: 22.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS Score: 6.7

Product Status

Vendor Uutils
Product coreutils
Versions Default: unaffected
  • affected from 0 to 0.7.0 (excl.)

Credits

  • Zellic finder

References

Problem Types

  • CWE-59: Improper Link Resolution Before File Access ('Link Following') CWE

Impacts

  • CAPEC-554: Functionality Bypass