CVE-2026-115908zip-rs zip2
High 7.4 No auth needed
Follow: this CVE · zip-rs · zip-rs zip2 We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- —
- Auth required
- No
- Published
- Oct 26, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 7.2.0 until 9.0.0, ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir use safe_prepare_path in src/read/zipfile.rs and simplified_components in src/path.rs to validate symbolic link targets with a lexical prefix comparison rather than resolving each intermediate link. An attacker who knows or can guess the absolute extraction destination can create a chain whose apparent target remains under the destination while an intermediate symlink resolves outside it, allowing attacker-controlled files to be created or overwritten with the extracting process's privileges. On Windows, discarded drive and UNC prefixes can permit a single-link escape when the process has SeCreateSymbolicLinkPrivilege, such as through administrator rights or Developer Mode. This regression is distinct from CVE-2025-29787. This issue is fixed in version 9.0.0.
What to do
- Apply the vendor's security update for zip2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | zip |
≥ 7.2.0 < 9.0.0 |
9.0.0 |
cargo update -p zip --precise 9.0.0 |
| crates.io | zip |
≥ 7.2.0 < 9.0.0 |
9.0.0 |
cargo update -p zip --precise 9.0.0 |
Per OSV / GitHub Advisories (GHSA-hjqx-j4rw-g7xv, RUSTSEC-2026-0546). Check the version in your lockfile before upgrading.
Affected products
- zip-rs · zip2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for gleam · SUSE · openSUSE-SU-2026:22361-1 · Nov 11, 2026 Critical
- Security update for rust-keylime · SUSE · openSUSE-SU-2026:22249-1 · Nov 6, 2026 Critical
- Security update for rust-keylime · SUSE · SUSE-SU-2026:24641-1 · Nov 6, 2026 Critical
Also: SUSE (+6)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.