CVE Catalog

CVE-2026-19693

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Summary

extract-zip through 2.0.1 only checks the parent directory of each archive entry, not the entry's own final path component. An archive containing two entries with identical names – a symlink pointing outside the destination, followed by a regular file – writes through the symlink, allowing arbitrary file write outside the destination directory.

Risk Assessment

An attacker can supply a malicious archive that writes files outside the intended directory, potentially leading to overwriting important files or accessing sensitive data.

Recommendation

Update extract-zip to the latest version if available, or apply a workaround by manually validating archive entries before extraction.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS