CVE-2026-56876: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in max-mapper extract-zip
extract-zip does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.
AI Analysis
Technical Summary
CVE-2026-56876 is a path traversal vulnerability in max-mapper's extract-zip library. The issue arises because extract-zip fails to validate symlink targets during extraction, allowing symlinks with relative paths such as '../../../../etc/passwd' to be created outside the intended extraction directory. This improper limitation of pathname to a restricted directory (CWE-22) can lead to unauthorized file read or write operations depending on usage context. The vulnerability has a CVSS 3.1 base score of 8.1, indicating high severity, with network attack vector, low attack complexity, no privileges required, user interaction needed, and high impact on confidentiality and integrity.
Potential Impact
An attacker who can supply a crafted zip archive to extract-zip may cause the extraction process to create symbolic links pointing outside the intended directory. This can result in unauthorized reading or modification of arbitrary files on the system where extract-zip is run. The actual impact depends on how extract-zip is integrated and used, but it can lead to significant confidentiality and integrity violations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Users should monitor the vendor's communications for updates. Until a fix is available, avoid extracting untrusted zip archives with extract-zip or implement additional validation controls around extraction paths and symlink handling.
CVE-2026-56876: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in max-mapper extract-zip
Description
extract-zip does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.
CVSS v3.1
Score 8.1high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-56876 is a path traversal vulnerability in max-mapper's extract-zip library. The issue arises because extract-zip fails to validate symlink targets during extraction, allowing symlinks with relative paths such as '../../../../etc/passwd' to be created outside the intended extraction directory. This improper limitation of pathname to a restricted directory (CWE-22) can lead to unauthorized file read or write operations depending on usage context. The vulnerability has a CVSS 3.1 base score of 8.1, indicating high severity, with network attack vector, low attack complexity, no privileges required, user interaction needed, and high impact on confidentiality and integrity.
Potential Impact
An attacker who can supply a crafted zip archive to extract-zip may cause the extraction process to create symbolic links pointing outside the intended directory. This can result in unauthorized reading or modification of arbitrary files on the system where extract-zip is run. The actual impact depends on how extract-zip is integrated and used, but it can lead to significant confidentiality and integrity violations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Users should monitor the vendor's communications for updates. Until a fix is available, avoid extracting untrusted zip archives with extract-zip or implement additional validation controls around extraction paths and symlink handling.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- cisa-cg
- Date Reserved
- 2026-06-23T15:30:16.784Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3eb5316e08203f7dd21fd3
Added to database: 06/26/2026, 17:21:53 UTC
Last enriched: 06/26/2026, 17:36:38 UTC
Last updated: 06/26/2026, 18:08:28 UTC
Views: 5
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.