GitHub Advisoryadvisory · npm
GHSA-7pqw-9j4j-h8q3 extract-zip allows arbitrary file writes through symlink archive entries
HIGH
Official page ↗
- Aliases
- CVE-2026-19693
- Ecosystem
- npm
- Packages
- extract-zip
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-22
- Reviewed
- 2026-09-08
Affected packages
• npm extract-zip: <= 2.0.1 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-19693 extract-zip through 2.0.1 containment-checks only the parent directory of each archive entry and never the entry's own final path… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness