HIGH 8.1 npm
extract-zip allows arbitrary file writes through symlink archive entries
GHSA-7pqw-9j4j-h8q3 · CVE-2026-19693
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
Ready to move
Start Securing
Free, no credit card | First findings in minutes