Advisory

RUSTSEC-2026-0369

Also known as: GHSA-4684-h2q9-2vcp

Summary

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

Details

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

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Dates

Published
2026-10-10 12:00 UTC
Modified
2026-10-16 23:30 UTC

Affected packages and fixes

zip

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 9.0.0 (semver)

Fixed versions

9.0.0

Fix

  • Fixed version 9.0.0
    cargo update -p zip --precise 9.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences