{"id":"RUSTSEC-2026-0369","aliases":["GHSA-4684-h2q9-2vcp"],"title":"ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target","summary":"ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","vendor":"zip","product":"zip","ecosystem":"rust","affected":["zip >= 0.0.0-0, < 9.0.0"],"patched":["zip 9.0.0"],"published":"2026-10-10","updated":"2026-10-16","sourceUpdated":"2026-10-16T23:30:02.387698467Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0369","references":[{"url":"https://crates.io/crates/zip"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0369.html"}],"tags":["osv","rust"],"ingestedAt":"2026-10-17T11:50:15.360Z","slug":"RUSTSEC-2026-0369","body":"## Overview\n\n`ZipStreamReader::extract()` applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination\n\nFor further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp\n\n## Affected packages\n\n- `zip >= 0.0.0-0, < 9.0.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `zip 9.0.0`","depth":"midnight","depthScore":50,"depthScoreParts":{"impact":50.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}