Vulnerability · Published Apr 22, 2026 · Assigned by canonical

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

Medium 6.7

In plain English

A medium-severity security flaw in coreutils from Uutils. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.2%top 91.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rust-coreutilsno fix listedDEBIAN-CVE-2026-35349
Debian:13rust-coreutilsno fix listedDEBIAN-CVE-2026-35349
Debian:14rust-coreutils0.7.0-1DEBIAN-CVE-2026-35349
Ubuntu:24.04:LTSrust-coreutilsno fix listedUBUNTU-CVE-2026-35349
Ubuntu:25.10rust-coreutilsno fix listedUBUNTU-CVE-2026-35349

Affected products (as reported)

VendorProductVersions
Uutils coreutils 0 – before 0.7.0

Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

References