CVE-2026-19693: extract-zip allows arbitrary file writes through symlink archive entries
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.
Published Aug 17, 2026 · Updated Sep 8, 2026
Affected packages
extract-zip
- Ecosystem
- npm
- Affected
- <= 2.0.1
- Fixed in
- No patched version yet
- Check
npm ls extract-zip
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
