CVE-2026-35349
MEDIUM6.7EPSS 0.02%uutils coreutils has a Link Following Issue Via rm Utility
Published: 4/22/2026Modified: 5/5/2026
Also known as:GHSA-v762-x3cf-5mfg
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 (2)
- crates.io/coreutilsfrom 0, < 0.7.0
- Debian/rust-coreutilsfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-35349
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35349
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/commit/5e5968cdbc6618acd6c2402a8a98b503f278835e
- WEBhttps://github.com/uutils/coreutils/pull/9706
- WEBhttps://github.com/uutils/coreutils/releases/tag/0.7.0