# GHSA-4684-h2q9-2vcp: ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

- Severity: Critical 9.1 (CVSS:3.1, scored by RustSec Advisory Database) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-10-10T12:00:00.000Z
- Modified: 2026-10-16T23:30:02.387Z
- Also known as: RUSTSEC-2026-0369

## Description

`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

(As written by RustSec Advisory Database.)

## Affected

- zip (crates.io): from 0.0.0-0 before 9.0.0

## References

- <https://crates.io/crates/zip> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0369.html> (advisory)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0369](https://rustsec.org/advisories/RUSTSEC-2026-0369.html), CC0-1.0, modified 2026-10-16

---

Page: https://cve.day/GHSA-4684-h2q9-2vcp · Whole record: https://cve.day/GHSA-4684-h2q9-2vcp.json · Rebuilt by cve.day 2026-11-25T22:56:43.437Z
