Advisory

GHSA-7pqw-9j4j-h8q3

Also known as: CVE-2026-19693

Summary

extract-zip allows arbitrary file writes through symlink archive entries

Details

extract-zip through 2.0.1 containment-checks only the parent directory of each archive entry and never the entry's own final path component, so an archive containing two entries with identical names - a symlink whose target is outside the destination, followed by a regular file - writes through the planted symlink and yields an arbitrary file write outside the destination directory.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-08-17 15:30 UTC
Modified
2026-09-08 21:10 UTC

Affected packages and fixes

extract-zip

npm · All systems

Affected

  • introduced 0, last affected 2.0.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences