RUSTSEC-2026-0369 — Vulnerability in zip — Advisory Details
ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
Does your project use an affected zip version?
Paste your Cargo.lock to check it for RUSTSEC-2026-0369 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
ZipStreamReader::extract() applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination
For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp
Advisory Timeline
- First published October 10, 2026 (47 days ago).
- Last revised October 16, 2026 — 6 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p zip --precise 9.0.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| zip crates.io · Affected: All versions | 9.0.0 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
References
Frequently Asked Questions
- What is RUSTSEC-2026-0369?
- ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by RUSTSEC-2026-0369?
- RUSTSEC-2026-0369 affects zip. Use GeekWala's free vulnerability scanner to check your dependencies against RUSTSEC-2026-0369 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
Also Known As
Related CVEs
- CVE-2026-115905CRITICAL
zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
- CVE-2025-29787HIGH
Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write
- CVE-2026-115909HIGH
zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size
- CVE-2025-29787HIGH
zip Incorrectly Canonicalizes Paths during Archive Extraction Leading to Arbitrary File Write
- CVE-2026-115907HIGH
zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
- CVE-2026-115908HIGH
zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.
- CVE-2026-115909HIGH
zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
- CVE-2026-115906MEDIUM
zip: AES Entry HMAC Authentication Bypass on Premature EOF