{"id":"RUSTSEC-2026-0427","revision":null,"records":[{"revision":"9d594791d75d429ab3f5f42283e8ef48","observedAt":"2026-10-30T11:49:33.486+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0427","aliases":[],"title":"`sn-releases`: `extract_release_archive` writes archive entries without a path-traversal check (zip-slip)","description":"`SafeReleaseRepoActions::extract_release_archive` builds each output path from the **raw archive entry name** and writes to it with no traversal check, so a malicious release archive can create directories and write files **outside** the destination directory, a \"zip-slip\" / path traversal (CWE-22 / CWE-23).\n\nIn `src/lib.rs` (`extract_release_archive`, zip branch):\n\n```rust\nlet mut file = archive.by_index(i)?;\nlet out_path = dest_dir_path.join(file.name());   // file.name() is the raw entry name\nif file.name().ends_with('/') {\n    std::fs::create_dir_all(&out_path)?;          // no `..` check\n} else {\n    let mut outfile = std::fs::File::create(&out_path)?;   // writes outside dest\n    std::io::copy(&mut file, &mut outfile)?;\n}\n```\n\nThe crate is unmaintained (latest release 0.3.1, 2024-10-22) and no fixed version is available.","state":0,"publishedAt":"2026-10-29T12:00:00+00:00","modifiedAt":"2026-10-30T11:15:02.1792752+00:00","affected":[{"ecosystem":"crates.io","name":"sn-releases","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/sn-releases","https://rustsec.org/advisories/RUSTSEC-2026-0427.html","https://github.com/maidsafe/sn-releases"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0427","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0427","identifiers":["RUSTSEC-2026-0427"]},"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-11-07T00:28:52.9665809+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-07T00:28:52.9665809+00:00","lastSuccessAt":"2026-11-07T00:28:53.1625113+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:28:53.1625124+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-e3f76855f3f449c8c0427e4ebd06d00838fa519af10fe158fc0ca4a62af0718a-340a45d9017d4f9de046b855ad9d1afbc5c699f0e6a7003981ff3a54ebedd5b3","complete":true,"records":420470,"lastAttemptAt":"2026-11-07T00:26:54.2874398+00:00","lastSuccessAt":"2026-11-06T23:27:15.9170833+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:26:54.2874398+00:00","snapshotPublishedAt":"2026-11-06T23:24:11+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-0989d2d9e73b48f9a9dc056a6529feff","complete":false,"records":13623,"lastAttemptAt":"2026-11-07T00:41:03.8092186+00:00","lastSuccessAt":"2026-11-07T00:41:03.805+00:00","error":"2 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-07T00:41:03.805+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13683,"expectedIdentifiers":13685,"failedIdentifiers":2},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-07T00:28:52.9665809+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-07T00:28:52.9665809+00:00","lastSuccessAt":"2026-11-07T00:28:53.1671535+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:28:53.1671542+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-ee8b62a9eb28499a935e299b0f02e625","complete":true,"records":13645,"lastAttemptAt":"2026-11-07T00:28:54.4169099+00:00","lastSuccessAt":"2026-11-07T00:28:54.367+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:28:54.367+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"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-0eb4d6dde62dffacd040ad992d4fd5a65cd7d0dc5f5f4cfa8b41967fc6f9ca5f","complete":true,"records":9914,"lastAttemptAt":"2026-11-07T00:28:52.8647003+00:00","lastSuccessAt":"2026-11-06T20:10:36.6450506+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:28:52.8647003+00:00","snapshotPublishedAt":"2026-11-06T20:02:57+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-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-07T00:26:54.4388137+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:26:54.4388137+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+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-335633e78a15c9cde10a6025895b5617717087fb945489ae7e15d377bacf34a9","complete":true,"records":3055,"lastAttemptAt":"2026-11-07T00:28:52.8787864+00:00","lastSuccessAt":"2026-11-06T16:03:00.7615789+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:28:52.8787864+00:00","snapshotPublishedAt":"2026-11-06T16:02:48+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-a0b728bc1c5526b5429930c00621636eba8655069c176697c3080f8377619ad7","complete":true,"records":231291,"lastAttemptAt":"2026-11-07T00:28:52.7371776+00:00","lastSuccessAt":"2026-11-07T00:28:51.1983528+00:00","error":null,"lastVerifiedAt":"2026-11-07T00:28:52.7371776+00:00","snapshotPublishedAt":"2026-11-06T23:33:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}