crates.io
CVE-2026-115908
zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.
- Severity
- High 7.4
- Published
- 29 Oct 2026
- Last changed
- 17 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 9.0.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H- Also known as
- GHSA-hjqx-j4rw-g7xv, RUSTSEC-2026-0546
- Sources
- OSV.dev and GitHub
Description
- Verified version: zip 9.0.0-pre3
- Affected versions: 7.2.0 and later
- Precondition: The attacker knows (or can guess) the absolute path of the extraction destination
The validation applied to symlinks is purely lexical. As a result, an attacker can write arbitrary files outside the extraction directory through a symlink. Exploitation requires the attacker to know (or guess) the absolute path of the destination, but this is realistic in practice: CI workspaces, /opt/app, a fixed Downloads path, and so on.
Impact extends further on Windows (verified on real hardware for both the separate-drive and UNC-share cases): Because simplified_components discards the Prefix component, paths like D:\ or a UNC path \attacker\share\ pass the starts_with check. As a result, outpath.push gets replaced onto a different drive/remote share, so a single symlink is enough — no intermediate symlink chain is required.
Affected software
| Software | Affected versions |
|---|---|
zipcrates.io · osv:crates.io:zip |
|
About zip
- Downloads in the last 90 days (crates.io)
- 111,591,536crates.io, 23 Nov 2026
- Total downloads (crates.io)
- 359,656,960crates.io, 23 Nov 2026
Vulnerabilities in zip
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-115907zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed sizeHigh 7.5 29 Oct 2026
- CVE-2026-115906zip: AES Entry HMAC Authentication Bypass on Premature EOFMedium 6.5 29 Oct 2026
- CVE-2026-115909zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During ExtractionHigh 7.5 29 Oct 2026
- CVE-2026-115905zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCECritical 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-115908
- GitHub Advisory Database https://github.com/advisories/GHSA-hjqx-j4rw-g7xv