RUSTSEC-2026-0369 ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
CriticalCVSS 9.1
- Published
- Updated
- Exploit status
- No public exploit known
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
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io zip(crates.io) | >= 0.0.0-0, < 9.0.0 | 9.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io zip(crates.io) | >= 0.0.0-0, < 9.0.0 | 9.0.0 |
References
- crates.io product
- rustsec.org vendor-advisory