Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| max-mapper | extract-zip | 1.0.0 – ≤ 2.0.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-extract-zip | No fix yet | — |
| Debian 13 | node-extract-zip | No fix yet | — |
| Debian 12 | node-extract-zip | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-extract-zip | No fix yet | — |
| Ubuntu 26.04 LTS | node-extract-zip | No fix yet | — |
| Ubuntu 24.04 LTS | node-extract-zip | No fix yet | — |
| Ubuntu 22.04 LTS | node-extract-zip | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | extract-zip | <= 2.0.1 | — | GHSA-7pqw-9j4j-h8q3 |
Advisories 1
- WID-SEC-2026-4056 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
References
- extract-zip on npm product
- max-mapper/extract-zip on GitHub product