CVE-2026-35349

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

State
Published
Severity
6.7 Medium
Published
Apr 22, 2026
Updated
Apr 22, 2026
Reserved
Apr 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.7 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:Hcanonical

Weaknesses

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

Affected Products

ProductVersions
coreutilsUutils
  • before 0.7.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.