ADVISORIES

GitHub Advisory Database

GHSA-jmr9-qjv8-65gv

extract-zip unvalidated symlink path traversal

High No fix available CVE-2026-56876

Details

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.

Affected packages

EcosystemPackageAffected versions
npmextract-zip
All versions up to and including 2.0.1

References