Description
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.
Published: 2026-08-17
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from extract-zip’s containment checks, which only validate the parent directory of each archive entry and ignore the entry’s own final path component. An attacker can supply a ZIP file that first creates a symlink pointing outside the desired extraction directory and then includes a regular file with the same name. During extraction, the symlink is created and the following file is written through the symlink, resulting in a write to an arbitrary location on the filesystem, potentially overwriting critical files or altering application data.

Affected Systems

This flaw exists in the Node.js package max-mapper extract-zip and affects all installations through version 2.0.1. Any JavaScript or Node.js application that uses this package to extract ZIP archives from sources that the application does not fully trust is at risk.

Risk and Exploitability

The CVSS score of 8.1 categorizes the flaw as high severity. No EPSS score is listed, so the exploitation probability is uncertain, and it is not present in the CISA KEV catalog. The likely attack vector requires an attacker to influence the ZIP archive processed by the application, which is feasible when the application accepts or downloads ZIP files from external parties. If the application runs with elevated privileges or has write access to critical directories, the attacker could overwrite system or application files, enabling further compromise or denial of service. This indicates a significant risk for affected deployments.

Generated by OpenCVE AI on August 17, 2026 at 15:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the extract‑zip package to the latest released version, which includes validation of the final path component.
  • If an upgrade is not immediately possible, configure the application to reject ZIP archives that contain symlink entries or to enforce a strict extraction policy that ensures the final path stays within the destination directory.
  • As an alternative, replace extract‑zip with a library that performs comprehensive path validation, or implement custom logic to strip or ignore symlink entries before extraction.

Generated by OpenCVE AI on August 17, 2026 at 15:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Max-mapper
Max-mapper extract-zip
Vendors & Products Max-mapper
Max-mapper extract-zip

Mon, 17 Aug 2026 14:00:00 +0000

Type Values Removed Values Added
Description 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.
Title extract-zip arbitrary file write outside the destination directory via a symlink at the final path component
Weaknesses CWE-22
CWE-59
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}


Subscriptions

Max-mapper Extract-zip
cve-icon MITRE

Status: PUBLISHED

Assigner: seal

Published:

Updated: 2026-08-17T13:30:22.288Z

Reserved: 2026-08-13T07:30:18.584Z

Link: CVE-2026-19693

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T14:20:20.737

Modified: 2026-08-17T14:20:20.737

Link: CVE-2026-19693

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T15:30:06Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')