Skip to main content

RUSTSEC-2026-0369 — Vulnerability in zip — Advisory Details

CRITICAL

ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

Published October 10, 2026Updated October 16, 2026Source: OSV

Does your project use an affected zip version?

Paste your Cargo.lock to check it for RUSTSEC-2026-0369 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Cargo.lock

Summary

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

Advisory Timeline

  • First published October 10, 2026 (47 days ago).
  • Last revised October 16, 2026 — 6 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update zip to 9.0.0 or later
cargo update -p zip --precise 9.0.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageFixed In
zip crates.io · Affected: All versions9.0.0

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Frequently Asked Questions

What is RUSTSEC-2026-0369?
ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by RUSTSEC-2026-0369?
RUSTSEC-2026-0369 affects zip. Use GeekWala's free vulnerability scanner to check your dependencies against RUSTSEC-2026-0369 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

Also Known As

GHSA-4684-h2q9-2vcp

Related CVEs

  • CVE-2026-115905
    CRITICAL

    zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE

  • CVE-2025-29787
    HIGH

    Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write

  • CVE-2026-115909
    HIGH

    zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size

  • CVE-2025-29787
    HIGH

    zip Incorrectly Canonicalizes Paths during Archive Extraction Leading to Arbitrary File Write

  • CVE-2026-115907
    HIGH

    zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size

  • CVE-2026-115908
    HIGH

    zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.

  • CVE-2026-115909
    HIGH

    zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction

  • CVE-2026-115906
    MEDIUM

    zip: AES Entry HMAC Authentication Bypass on Premature EOF

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock