extract-zip

Ecosystem: npm

Downloads:

Vulnerabilities from the last (months)
  • 0CriticalAffects 0 versions
  • 2HighAffects 2 versions
  • 0MediumAffects 0 versions
  • 0ModerateAffects 0 versions
  • 0LowAffects 0 versions
Severity distribution (all time)
2vulnerabilities
  • Critical0 (0.0%)
  • High2 (100.0%)
  • Medium0 (0.0%)
  • Moderate0 (0.0%)
  • Low0 (0.0%)

Monthly breakdown

  • Critical
  • High
  • Medium
  • Moderate
  • Low
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0

Vulnerabilities (2)

Known vulnerabilities affecting extract-zip, based on data from OSV.

Vulnerabilities affecting extract-zip
IDSeveritySummaryAffected versionsPublishedSource
GHSA-7pqw-9j4j-h8q3Highextract-zip allows arbitrary file writes through symlink archive entriesextract-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.
  • <= 2.0.1
GitHub (opens in a new tab)
GHSA-jmr9-qjv8-65gvHighextract-zip unvalidated symlink path traversalextract-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.
  • <= 2.0.1
GitHub (opens in a new tab)
  • GHSA-7pqw-9j4j-h8q3High
    extract-zip allows arbitrary file writes through symlink archive entries
    • <= 2.0.1

    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.

    CVE: CVE-2026-19693

  • GHSA-jmr9-qjv8-65gvHigh
    extract-zip unvalidated symlink path traversal
    • <= 2.0.1

    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.

    CVE: CVE-2026-56876

Showing 1-2 of 2 vulnerabilities