CVE-2026-35349
HIGH 7.7CVSS 3.1rm: --preserve-root bypassed via a symlink to / (string check instead of dev/inode)
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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-59CWE-693
- Also known as
- GHSA-7cr3-h577-g38j
- Sources
- NVDJSONOSV GHSA-7cr3-h577-g38jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uutils | coreutilscpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:* |
< 0.7.0 | 0.7.0 |
| OSV | crates.io | uu_rm | < 0.7.0 | 0.7.0 |
References
- https://github.com/uutils/coreutils/pull/9706 · Issue Tracking, Patch, WEB
- https://github.com/uutils/coreutils/releases/tag/0.7.0 · Release Notes, WEB
- https://github.com/uutils/coreutils/security/advisories/GHSA-7cr3-h577-g38j · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35349 · ADVISORY
- https://github.com/uutils/coreutils/commit/5e5968cdbc6618acd6c2402a8a98b503f278835e · WEB
- https://github.com/uutils/coreutils · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)