---
id: RUSTSEC-2026-0369
aliases:
  - GHSA-4684-h2q9-2vcp
title: >-
  ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions
  through symlinks without confining the target
summary: >-
  ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions
  through symlinks without confining the target
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
vendor: zip
product: zip
ecosystem: rust
affected:
  - 'zip >= 0.0.0-0, < 9.0.0'
patched:
  - zip 9.0.0
published: '2026-10-10'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T23:30:02.387698467Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2026-0369'
references:
  - url: 'https://crates.io/crates/zip'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0369.html'
tags:
  - osv
  - rust
ingestedAt: '2026-10-17T11:50:15.360Z'
---

## Overview

`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

## Affected packages

- `zip >= 0.0.0-0, < 9.0.0`

## Remediation

Upgrade to a patched release:

- `zip 9.0.0`
