Vulnerability advisory
RUSTSEC-2026-0369
ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
Also known as GHSA-4684-h2q9-2vcp
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected versions
zip crates.io
All zip advisories →| Affected | Fixed in |
|---|---|
0.0.0-0 to before 9.0.0 | 9.0.0Advisories → |
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