GHSA-7pqw-9j4j-h8q3
extract-zip allows arbitrary file writes through symlink archive entries
At a glance
- Published
- Updated
- CVE
- CVE-2026-19693
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
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 packages
| Package | Versions |
|---|---|
| npm · extract-zip | introduced 0, last affected 2.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-19693 ADVISORY
- https://github.com/max-mapper/extract-zip/pull/160 WEB
- https://github.com/max-mapper/extract-zip PACKAGE
- https://www.npmjs.com/package/extract-zip WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |