Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. extract-zip
  4. ›
  5. CVE-2026-56876

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

June 26, 2026 (updated August 12, 2026)

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

  • github.com/advisories/GHSA-jmr9-qjv8-65gv
  • github.com/ziad626/extract-zip-security-research/security/advisories/GHSA-x7jf-2287-qcpf
  • nvd.nist.gov/vuln/detail/CVE-2026-56876
  • raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-177-01.json
  • www.cve.org/CVERecord?id=CVE-2026-56876

Code Behaviors & Features

Detect and mitigate CVE-2026-56876 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/extract-zip/CVE-2026-56876.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:27 +0000.