NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-56876: extract-zip unvalidated symlink path traversal

highCVSS 4.0 8.6 · 3.1 8.1GHSA-jmr9-qjv8-65gv

extract-zip does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.

Published Jun 26, 2026 · Updated Aug 12, 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 does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.

Credited to drengir1.

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

More npm vulnerabilities

All npm entries