Read the docs
TI-2025-21198 Aliases CVE-2025-29787GHSA-94vh-gphv-8pm8

zip Vulnerable to Incorrect Path Canonicalization During Archive Extraction, Leading to Arbitrary File Write

Priority HIGH 65CWE-180Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

`zip` is a zip library for rust which supports reading and writing of simple ZIP files. In the archive extraction routine of affected versions of the `zip` crate starting with version 1.3.0 and prior to version 2.3.0, symbolic links earlier in the archive are allowed to be used for later files in the archive without validation of the final canonicalized path, allowing maliciously crafted archives to overwrite arbitrary files in the file system when extracted. Users who extract untrusted archive files using the following high-level API method may be affected and critical files on the system may be overwritten with arbitrary file permissions, which can potentially lead to code execution. Version 2.3.0 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00585 48th percentileScored 2026-11-07
Fix Fixed zip2 (zip-rs): 2.3.0zip (crates.io): 2.3.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
zip-rszip21.3.0 to before 2.3.02.3.0Patch availableCNA
—zip (crates.io)1.3.0 to before 2.3.02.3.0Patch availableGHSA-94vh-gphv-8pm8
  • zip2 Vendorzip-rs Affected 1.3.0 to before 2.3.0 Fixed in 2.3.0 Patch available CNA
  • zip (crates.io) Vendor— Affected 1.3.0 to before 2.3.0 Fixed in 2.3.0 Patch available GHSA-94vh-gphv-8pm8

Remediation

  • Fix · CNA zip2 (zip-rs) Fixed in 2.3.0
  • Fix · GHSA-94vh-gphv-8pm8 zip (crates.io) Fixed in 2.3.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-29787
  2. 2026-10-03 Alias added: GHSA-94vh-gphv-8pm8

References

  • TI-2026-80483 Parser differential in Rust zip library allows file overwrite CVSS 4.0CRITICAL 10.0
  • TI-2026-80489 Denial of service in zip crate from attacker-controlled ZIP64 size CVSS 3.1HIGH 7.5
  • TI-2026-80488 Authentication bypass in zip Rust crate lets modified AES entries pass CVSS 3.1MEDIUM 6.5
  • TI-2026-80491 Excessive allocation in zip Rust crate aborts extraction of symlinks CVSS 3.1HIGH 7.5
  • TI-2026-80490 Arbitrary file write outside extraction directory in Rust zip crate CVSS 3.1HIGH 7.4

Sources