{"id":"CVE-2026-35349","state":"PUBLISHED","title":"uutils coreutils Path-Based Safety Bypass with --preserve-root","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.","publishedAt":"2026-04-22T16:07:59.808Z","updatedAt":"2026-04-22T18:05:13.169Z","severity":{"score":6.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Uutils coreutils"],"affected":[{"vendor":"Uutils","product":"coreutils","packageName":"coreutils","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.7.0","versionType":"semver"}],"platforms":["Linux","Unix","macOS"],"collectionURL":"https://github.com/uutils","repo":"https://github.com/uutils/coreutils"}],"references":["https://github.com/uutils/coreutils/pull/9706","https://github.com/uutils/coreutils/releases/tag/0.7.0"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35349.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35349","state":"PUBLISHED","datePublished":"2026-04-22T16:07:59.808Z","dateUpdated":"2026-04-22T18:05:13.169Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2026-04-02T12:58:56.087Z"},"containers":{"cna":{"title":"uutils coreutils Path-Based Safety Bypass with --preserve-root","descriptions":[{"lang":"en","value":"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":[{"vendor":"Uutils","product":"coreutils","packageName":"coreutils","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.7.0","versionType":"semver"}],"platforms":["Linux","Unix","macOS"],"collectionURL":"https://github.com/uutils","repo":"https://github.com/uutils/coreutils"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/9706","tags":["issue-tracking","patch"]},{"url":"https://github.com/uutils/coreutils/releases/tag/0.7.0","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"MEDIUM","baseScore":6.7,"vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2026-04-22T16:07:59.808Z"},"impacts":[{"capecId":"CAPEC-554","descriptions":[{"lang":"en","value":"CAPEC-554: Functionality Bypass"}]}],"credits":[{"lang":"en","value":"Zellic","type":"finder"}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-22T18:04:49.853241Z","id":"CVE-2026-35349","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-22T18:05:13.169Z"}}]}}}