Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zip-rs | zip2 | >= 7.2.0, < 9.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-zip | No fix yet | — |
| Ubuntu 26.04 LTS | rust-zip | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | rust-keylime | 0.2.10+12-160000.1.1 | SUSE-SU-2026:24658-1 |
| SLES 16.0 | rust-keylime | 0.2.10+12-160000.1.1 | SUSE-SU-2026:24658-1 |
| SLE Micro 6.2 | rust-keylime | 0.2.10+12-160000.1.1 | SUSE-SU-2026:24641-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.5 | rust-keylime | 0.2.10+12-150500.3.22.1 | SUSE-SU-2026:4931-1 |
| SLE Micro 5.4 | rust-keylime | 0.2.10+12-150400.3.22.1 | SUSE-SU-2026:4930-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gleam | 1.19.2-1.1 | openSUSE-SU-2026:12454-1 |
| openSUSE Tumbleweed | python-uv | 0.13.6-1.1 | openSUSE-SU-2026:12307-1 |
| openSUSE Tumbleweed | rust-keylime | 0.2.10+12-1.1 | openSUSE-SU-2026:12333-1 |
| openSUSE Leap 16.0 | rust-keylime | 0.2.10+12-160000.1.1 | openSUSE-SU-2026:22249-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ascan +1 | No fix yet | — |
| Wolfi rolling | pixi | 0.84.0-r0 | — |
| Wolfi rolling | pnpm-12 | 12.18.0-r0 | — |
| Wolfi rolling | ruff +1 | 0.17.4-r0 | — |
| Wolfi rolling | superset-6.1 | 6.1.0-r25 | — |
| Wolfi rolling | verus | 0.2026.10.18-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | zip | >= 7.2.0, < 9.0.0 | 9.0.0 | GHSA-hjqx-j4rw-g7xv |
Advisories 8
- SUSE-SU-2026:24658-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Nov 12, 2026
- SUSE-SU-2026:24641-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Nov 12, 2026
- openSUSE-SU-2026:22249-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Nov 11, 2026
- openSUSE-SU-2026:12454-1 gleam-1.19.2-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026
- SUSE-SU-2026:4931-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Oct 31, 2026
- SUSE-SU-2026:4930-1 Security update for rust-keylime SUSE / openSUSE Security Updates · Oct 31, 2026
- openSUSE-SU-2026:12333-1 keylime-ima-policy-0.2.10+12-1.1 on GA media SUSE / openSUSE Security Updates · Oct 29, 2026
- openSUSE-SU-2026:12307-1 python313-uv-0.13.6-1.1 on GA media SUSE / openSUSE Security Updates · Oct 28, 2026