Skip to content- Sources: primary
- Summary: RUSTSEC-2026-0546 (CVE-2026-115908, CVSS 7.4) covers ZipArchive::extract and extract_unwrapped_root_dir in zip 7.2.0 and later, which compared symlink targets as text without following them and created archive symlinks without checking targets. An archive can create a symlink pointing outside the destination, a second symlink routed through it, and a file under the second one, and extract still returns Ok. The fix in zip 9.0.0 resolves targets component by component from the canonicalized destination.
- Why it matters: Any Rust service that unpacks untrusted zip files with zip below 9.0.0 can have arbitrary files overwritten, so upgrade across the major version or stop using extract on untrusted input.
- Background: Zip slip is the long-running class of bugs where archive entry names or symlinks escape the target directory during extraction. Checking paths as strings is not enough once symlinks are involved, because the filesystem resolves each component at write time. RustSec published four zip advisories on 2026-11-17, including decoder preallocation and AES authentication issues.