~ / search / GHSA-jmr9-qjv8-65gv

GHSA-jmr9-qjv8-65gv

extract-zip unvalidated symlink path traversal

Source: GitHub Advisory Database (reviewed) High CVE-2026-56876

Packages

EcosystemPackageAffectedFixed in
npm extract-zip <= 2.0.1 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.