CVE-2026-19693: CWE-59 Improper Link Resolution Before File Access ('Link Following') in max-mapper extract-zip
CVE-2026-19693 is a high-severity vulnerability in the max-mapper extract-zip package affecting versions 1.0.0 and all versions prior to 2.0.2. The flaw involves improper link resolution before file access, where the containment checks only verify the parent directory of each archive entry but not the final path component. This allows an attacker to craft a zip archive with a symlink pointing outside the destination directory followed by a regular file with the same name, resulting in an arbitrary file write outside the intended extraction directory.
AI Analysis
Technical Summary
The extract-zip package through version 2.0.1 performs containment checks only on the parent directory of each archive entry and neglects the entry's own final path component. An attacker can exploit this by including two entries with identical names in a zip archive: first a symlink targeting a location outside the extraction directory, followed by a regular file with the same name. When extracted, the regular file overwrites the target of the symlink, enabling arbitrary file writes outside the destination directory. This is classified as CWE-59 (Improper Link Resolution Before File Access) and CWE-22 (Path Traversal).
Potential Impact
Successful exploitation allows an attacker to write arbitrary files outside the intended extraction directory, potentially overwriting critical system or application files. This can lead to integrity violations and denial of service. The CVSS 3.1 score is 8.1 (High), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, but high integrity and availability impact.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should monitor the vendor advisory for updates. Until a fix is available, avoid extracting untrusted zip archives with vulnerable versions of extract-zip. Employ additional file system protections or sandboxing to limit the impact of arbitrary file writes.
CVE-2026-19693: CWE-59 Improper Link Resolution Before File Access ('Link Following') in max-mapper extract-zip
Description
CVE-2026-19693 is a high-severity vulnerability in the max-mapper extract-zip package affecting versions 1.0.0 and all versions prior to 2.0.2. The flaw involves improper link resolution before file access, where the containment checks only verify the parent directory of each archive entry but not the final path component. This allows an attacker to craft a zip archive with a symlink pointing outside the destination directory followed by a regular file with the same name, resulting in an arbitrary file write outside the intended extraction directory.
CVSS v3.1
Score 8.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The extract-zip package through version 2.0.1 performs containment checks only on the parent directory of each archive entry and neglects the entry's own final path component. An attacker can exploit this by including two entries with identical names in a zip archive: first a symlink targeting a location outside the extraction directory, followed by a regular file with the same name. When extracted, the regular file overwrites the target of the symlink, enabling arbitrary file writes outside the destination directory. This is classified as CWE-59 (Improper Link Resolution Before File Access) and CWE-22 (Path Traversal).
Potential Impact
Successful exploitation allows an attacker to write arbitrary files outside the intended extraction directory, potentially overwriting critical system or application files. This can lead to integrity violations and denial of service. The CVSS 3.1 score is 8.1 (High), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, but high integrity and availability impact.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should monitor the vendor advisory for updates. Until a fix is available, avoid extracting untrusted zip archives with vulnerable versions of extract-zip. Employ additional file system protections or sandboxing to limit the impact of arbitrary file writes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7pqw-9j4j-h8q3
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-19693"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a833345bf8831d5392a3c78
Added to database: 08/17/2026, 16:13:57 UTC
Last enriched: 09/12/2026, 01:16:42 UTC
Last updated: 10/02/2026, 03:41:02 UTC
Views: 44
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.