{"id":"CVE-2026-35363","revision":null,"records":[{"revision":"a5cb4eac124949c28f8bdbb1149fd6c0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-35363","aliases":[],"title":"uutils coreutils rm Safeguard Bypass via Improper Path Normalization","description":"A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with trailing slashes, such as ./ or .///. An accidental or malicious execution of rm -rf ./ results in the silent recursive deletion of all contents within the current directory. The command further obscures the data loss by reporting a misleading 'Invalid input' error, which may cause users to miss the critical window for data recovery.","state":0,"publishedAt":"2026-04-22T16:08:36.133+00:00","modifiedAt":"2026-04-22T17:24:11.243+00:00","affected":[{"ecosystem":"https://github.com/uutils","name":"coreutils","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Uutils\",\n                    \"product\": \"coreutils\",\n                    \"platforms\": [\n                        \"Linux\",\n                        \"Unix\",\n                        \"macOS\"\n                    ],\n                    \"collectionURL\": \"https://github.com/uutils\",\n                    \"packageName\": \"coreutils\",\n                    \"repo\": \"https://github.com/uutils/coreutils\",\n                    \"defaultStatus\": \"affected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L","score":5.6,"severity":"MEDIUM"}],"references":["https://github.com/uutils/coreutils/issues/9749"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-35363","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-35363","identifiers":["CVE-2026-35363"]},"retained":false,"historicalAffected":[]},{"revision":"78609421bbdd4fe9b305549061cf93e6","observedAt":"2026-10-28T04:55:18.804+00:00","statement":{"source":"euvd","id":"EUVD-2026-25008","aliases":["CVE-2026-35363","GHSA-89p7-7cq3-hhr2"],"title":"A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with tr…","description":"A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with trailing slashes, such as ./ or .///. An accidental or malicious execution of rm -rf ./ results in the silent recursive deletion of all contents within the current directory. The command further obscures the data loss by reporting a misleading 'Invalid input' error, which may cause users to miss the critical window for data recovery.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L","score":5.6,"severity":null}],"references":["https://github.com/uutils/coreutils/issues/9749"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-25008","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 22, 2026, 4:08:36 PM","dateUpdated":"Apr 22, 2026, 5:24:11 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-25008","identifiers":["EUVD-2026-25008","CVE-2026-35363","GHSA-89p7-7cq3-hhr2"]},"retained":false,"historicalAffected":[]},{"revision":"d7569f489586484da0096decce68439f","observedAt":"2026-10-27T09:03:12.132+00:00","statement":{"source":"nvd","id":"CVE-2026-35363","aliases":[],"title":"A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with tr…","description":"A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with trailing slashes, such as ./ or .///. An accidental or malicious execution of rm -rf ./ results in the silent recursive deletion of all contents within the current directory. The command further obscures the data loss by reporting a misleading 'Invalid input' error, which may cause users to miss the critical window for data recovery.","state":0,"publishedAt":"2026-04-22T17:16:39.12+00:00","modifiedAt":"2026-10-26T21:10:00.17+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security@ubuntu.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L","score":5.6,"severity":"MEDIUM"}],"references":["https://github.com/uutils/coreutils/issues/9749"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-35363","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-22"],"productCriteria":["cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*"],"sourceDates":{"published":"2026-04-22T17:16:39.120","lastModified":"2026-10-26T21:10:00.170"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-35363","identifiers":["CVE-2026-35363"]},"retained":false,"historicalAffected":[]},{"revision":"0aaf61e341a7458986f7157e6fe39ea4","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-89p7-7cq3-hhr2","aliases":["CVE-2026-35363"],"title":"rm: 'rm -rf ./' (and ./// variants) silently deletes current directory contents, bypassing dot protection","description":"`rm -rf .` is correctly refused, but `clean_trailing_slashes` normalizes `.///` to `./` while `path_is_current_or_parent_directory` only matches `.`/`..` (and `/.`/`/..`), not `./` or `../`. So `rm -rf ./` recursively deletes the directory's contents and then prints a misleading `cannot remove './': Invalid input`.\n\n**Impact:** all files/subdirectories in the current directory are silently deleted; the misleading error makes users miss the recovery window. Recommendation: handle trailing-slash variants in `path_is_current_or_parent_directory`.\n\n**Remediation:** Acknowledged by Canonical; fixed in commit d0e5af23.\n\n---\n_Reported by Zellic in the *uutils coreutils Program Security Assessment* (prepared for Canonical, Jan 20 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`. Finding 3.60. Credit: Zellic._\n\n_Upstream tracking issue: https://github.com/uutils/coreutils/issues/9749 · CVE-2026-35363_","state":0,"publishedAt":"2026-07-06T20:20:56+00:00","modifiedAt":"2026-07-06T20:41:13.421481+00:00","affected":[{"ecosystem":"crates.io","name":"uu_rm","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.6.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/uutils/coreutils/security/advisories/GHSA-89p7-7cq3-hhr2","https://nvd.nist.gov/vuln/detail/CVE-2026-35363","https://github.com/uutils/coreutils/issues/9749","https://github.com/uutils/coreutils"],"sourceUrl":"https://github.com/advisories/GHSA-89p7-7cq3-hhr2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-89p7-7cq3-hhr2","identifiers":["GHSA-89p7-7cq3-hhr2","CVE-2026-35363"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-29T23:49:06.1350665+00:00","complete":true,"records":1764,"lastAttemptAt":"2026-10-29T23:49:06.1350665+00:00","lastSuccessAt":"2026-10-29T23:49:06.2844873+00:00","error":null,"lastVerifiedAt":"2026-10-29T23:49:06.2844884+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-b1f3f808444d5ea9fdb7335a1abbcb8866c29481d9b152338762db9defc61d11-c8144dbcf1ff013ccd59a33c49a55e7bff2163114eaa4f41ce2f01d909d79dd7","complete":true,"records":416807,"lastAttemptAt":"2026-10-29T23:49:05.5749469+00:00","lastSuccessAt":"2026-10-29T23:49:05.3696065+00:00","error":null,"lastVerifiedAt":"2026-10-29T23:49:05.5749469+00:00","snapshotPublishedAt":"2026-10-29T23:27:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a2c37958e6754551b22e3a8f19518225","complete":false,"records":13504,"lastAttemptAt":"2026-10-29T23:59:28.8844256+00:00","lastSuccessAt":"2026-10-29T23:59:28.88+00:00","error":"6 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-10-29T23:59:28.88+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13164,"expectedIdentifiers":13587,"failedIdentifiers":6},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-29T23:49:06.1350665+00:00","complete":true,"records":1094,"lastAttemptAt":"2026-10-29T23:49:06.1350665+00:00","lastSuccessAt":"2026-10-29T23:49:06.2857841+00:00","error":null,"lastVerifiedAt":"2026-10-29T23:49:06.2857847+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c39f89b50d5243318487ad216daf7ffb","complete":true,"records":13527,"lastAttemptAt":"2026-10-29T23:49:08.5500965+00:00","lastSuccessAt":"2026-10-29T22:50:37.74+00:00","error":null,"lastVerifiedAt":"2026-10-29T22:50:37.74+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13587,"expectedIdentifiers":13587,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-9016081e9e88f5929902343d85df87c5c4a1486b10ab07bc6c4f53f98f358871","complete":true,"records":9806,"lastAttemptAt":"2026-10-29T23:49:05.9178443+00:00","lastSuccessAt":"2026-10-29T17:17:25.9359141+00:00","error":null,"lastVerifiedAt":"2026-10-29T23:49:05.9178443+00:00","snapshotPublishedAt":"2026-10-29T16:48:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-2de9ccc5290f060c7aa63f89c25dd76f655a64ba1aba7c05c97fa3bee4f09899","complete":true,"records":1967,"lastAttemptAt":"2026-10-29T23:49:05.6341308+00:00","lastSuccessAt":"2026-10-28T20:55:34.2982937+00:00","error":null,"lastVerifiedAt":"2026-10-29T23:49:05.6341308+00:00","snapshotPublishedAt":"2026-10-28T20:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-88b10711e708187a55cc7c2190d0fa202709e42b9f2b044668b7ee55f396c732","complete":true,"records":3014,"lastAttemptAt":"2026-10-29T23:49:06.0257211+00:00","lastSuccessAt":"2026-10-29T18:29:26.4063617+00:00","error":null,"lastVerifiedAt":"2026-10-29T23:49:06.0257211+00:00","snapshotPublishedAt":"2026-10-29T17:35:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ec5b13e78c39945726a720832da7660d2774969f16e2a34f99460c135811abd5","complete":true,"records":230948,"lastAttemptAt":"2026-10-29T23:49:05.8091746+00:00","lastSuccessAt":"2026-10-29T22:50:35.0693267+00:00","error":null,"lastVerifiedAt":"2026-10-29T23:49:05.8091746+00:00","snapshotPublishedAt":"2026-10-29T22:33:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}