CVE-2026-19693
Received Received - Intake

Arbitrary File Write in extract-zip Library

Vulnerability report for CVE-2026-19693, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-17

Last updated on: 2026-08-17

Assigner: seal

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-17
Last Modified
2026-08-17
Generated
2026-08-17
AI Q&A
2026-08-17
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
max-mapper extract-zip to 2.0.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in extract-zip through 2.0.1 allows an attacker to write files outside the intended destination directory. It occurs because the tool only checks the parent directory of archive entries and not the final path component. An attacker can create a ZIP file with a symlink pointing outside the target directory followed by a regular file with the same name, causing the tool to overwrite files outside the intended location.

Detection Guidance

To detect this vulnerability, inspect ZIP files for symlinks targeting outside the extraction directory. Use tools like 'zipinfo' to list archive contents and check for suspicious symlinks. Example command: zipinfo -l malicious.zip. Also, monitor file writes outside expected directories during extraction.

Impact Analysis

This vulnerability could allow an attacker to overwrite critical system files, modify configurations, or plant malicious files on your system. If you use extract-zip to process untrusted ZIP files, an attacker could gain control over your system or steal sensitive data by manipulating file paths.

Compliance Impact

This vulnerability could lead to unauthorized file access or modification, violating data integrity and confidentiality requirements under GDPR and HIPAA. Organizations processing sensitive data with extract-zip may face compliance violations if attackers exploit this flaw to access or alter protected information.

Mitigation Strategies

Update extract-zip to version 2.0.2 or later, which fixes the path traversal issue. If using npm, run npm update extract-zip. Review ZIP files for symlinks targeting outside the extraction directory before processing.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19693. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart