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

- Severity: Medium 6.7 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-04-22T16:07:59.808Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-7cr3-h577-g38j
- Weaknesses: CWE-59, CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

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

(As written by CVE List.)

## Affected

- coreutils: before 0.7.0
- uu_rm (crates.io): before 0.7.0
- uutils coreutils: before 0.7.0

## Every score

- canonical: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 7.7 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/uutils/coreutils/pull/9706> (issue-tracking, patch, web)
- <https://github.com/uutils/coreutils/releases/tag/0.7.0> (release-notes, vendor-advisory, 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)

## Sources

- CVE List: [CVE-2026-35349](https://www.cve.org/CVERecord?id=CVE-2026-35349), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-7cr3-h577-g38j](https://github.com/advisories/GHSA-7cr3-h577-g38j), CC-BY-4.0, modified 2026-07-06
- NVD: [CVE-2026-35349](https://nvd.nist.gov/vuln/detail/CVE-2026-35349), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35349 · Whole record: https://cve.day/CVE-2026-35349.json · Rebuilt by cve.day 2026-11-25T22:59:19.327Z
