{"id":"RUSTSEC-2026-0297","title":"`unzip`: archive extraction is vulnerable to path traversal (zip-slip)","summary":"`unzip`: archive extraction is vulnerable to path traversal (zip-slip)","severity":"none","vendor":"unzip","product":"unzip","ecosystem":"rust","affected":["unzip >= 0.0.0-0"],"published":"2026-09-09","updated":"2026-09-21","sourceUpdated":"2026-09-21T15:30:02.907499769Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0297","references":[{"url":"https://crates.io/crates/unzip"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0297.html"},{"url":"https://crates.io/crates/unzip"}],"tags":["osv","rust"],"ingestedAt":"2026-09-21T16:28:35.401Z","slug":"RUSTSEC-2026-0297","body":"## Overview\n\n### Summary\n\n`Unzipper::unzip` extracts each archive entry to a path built from the entry's\n**raw, attacker-controlled name** without any traversal check. A ZIP archive whose\nentry names contain `../` components (or an absolute path) can therefore cause\nfiles to be written **outside** the destination directory chosen by the caller —\na \"zip-slip\" / directory-traversal arbitrary file write (CWE-22 / CWE-23 /\nCWE-36).\n\n### Affected versions\n\nAll published versions are affected. `unzip` has only ever released `0.1.0`\n(published 2017-12-23) and appears unmaintained, so **no fixed version is\navailable**.\n\n### Proof of concept\n\nA malicious archive with a single entry named `../ESCAPED.txt` extracted via\n`Unzipper::unzip` writes `ESCAPED.txt` one level above the destination directory.\n\n## Affected packages\n\n- `unzip >= 0.0.0-0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}