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

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*

History

27 Apr 2026, 12:28

Type Values Removed Values Added
References () https://github.com/uutils/coreutils/pull/9706 - () https://github.com/uutils/coreutils/pull/9706 - Issue Tracking, Patch
References () https://github.com/uutils/coreutils/releases/tag/0.7.0 - () https://github.com/uutils/coreutils/releases/tag/0.7.0 - Release Notes
CPE cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
First Time Uutils
Uutils coreutils

22 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 17:16

Updated : 2026-04-27 12:28


NVD link : CVE-2026-35349

Mitre link : CVE-2026-35349

CVE.ORG link : CVE-2026-35349


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')