Unmaintained Rust `unzip` Crate Enables Zip-Slip Arbitrary File Writes
Vulnerability Disclosure · 3 sources · Updated 2mo ago · First seen Sep 21, 2026

RustSec disclosed that unzip 0.1.0, a Rust crate for extracting ZIP archives, is vulnerable to Zip Slip path traversal in unzip::Unzipper::unzip. The function uses attacker-controlled archive entry names to construct output paths without rejecting traversal components or absolute paths, allowing a malicious ZIP file to write files outside the intended extraction directory and potentially enabling code execution. The issue is tracked as RUSTSEC-2026-0297 and maps to CWE-22, CWE-23, and CWE-36.
All published versions are affected: unzip has only one release, version 0.1.0, and no fix is available. RustSec also designated the crate unmaintained under RUSTSEC-2026-0296, noting that its known vulnerability will not be remediated; organizations using it should remove or replace the dependency with an actively maintained alternative such as the Rust zip crate and ensure ZIP extraction code validates destination paths.


