CVE-2026-10732: Arbitrary File Write via Archive Extraction (Zip Slip) in decompress
The decompress package is vulnerable to an arbitrary file write vulnerability via ZIP archive extraction, known as Zip Slip. This occurs when a ZIP archive contains two entries with the same path: the first is a symlink to an arbitrary target, and the second is a regular file. Due to the order of microtask processing, the file content is written through the symlink to a location outside the intended output directory. This vulnerability bypasses existing path traversal protections, including those added for a previous related vulnerability (CVE-2020-12265). Exploitation could allow an attacker to write arbitrary files on the host filesystem, potentially leading to remote code execution. The CVSS 4. 0 base score is 6. 1, indicating medium severity. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
CVE-2026-10732 affects all versions of the decompress package and allows arbitrary file write during ZIP archive extraction. The vulnerability arises when a specially crafted ZIP archive contains two entries with the same path: a symlink followed by a regular file. The decompress package processes these entries in a way that the second file's content is written through the symlink to an arbitrary location outside the extraction directory. This behavior bypasses existing protections against path traversal and symlink attacks, including the preventWritingThroughSymlink mechanism introduced to fix CVE-2020-12265. The vulnerability can be exploited by an attacker providing a malicious ZIP archive, potentially leading to remote code execution on the host system. There is no vendor advisory or patch information available at this time.
Potential Impact
An attacker can write arbitrary files to locations outside the intended extraction directory by exploiting the symlink and file entry ordering in a ZIP archive. This can lead to overwriting critical files or placing malicious files on the host filesystem. The vulnerability potentially enables remote code execution if the attacker writes executable code to a location that is later executed by the system or an application. The CVSS 4.0 score of 6.1 reflects a medium severity with network attack vector, low complexity, and partial user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid extracting ZIP archives from untrusted sources with the decompress package. Consider using alternative extraction tools that properly handle symlinks and path traversal protections. Monitor official decompress package repositories and security advisories for updates.
CVE-2026-10732: Arbitrary File Write via Archive Extraction (Zip Slip) in decompress
Description
The decompress package is vulnerable to an arbitrary file write vulnerability via ZIP archive extraction, known as Zip Slip. This occurs when a ZIP archive contains two entries with the same path: the first is a symlink to an arbitrary target, and the second is a regular file. Due to the order of microtask processing, the file content is written through the symlink to a location outside the intended output directory. This vulnerability bypasses existing path traversal protections, including those added for a previous related vulnerability (CVE-2020-12265). Exploitation could allow an attacker to write arbitrary files on the host filesystem, potentially leading to remote code execution. The CVSS 4. 0 base score is 6. 1, indicating medium severity. No official patch or remediation guidance is currently available.
CVSS v4.0
Score 6.1medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-10732 affects all versions of the decompress package and allows arbitrary file write during ZIP archive extraction. The vulnerability arises when a specially crafted ZIP archive contains two entries with the same path: a symlink followed by a regular file. The decompress package processes these entries in a way that the second file's content is written through the symlink to an arbitrary location outside the extraction directory. This behavior bypasses existing protections against path traversal and symlink attacks, including the preventWritingThroughSymlink mechanism introduced to fix CVE-2020-12265. The vulnerability can be exploited by an attacker providing a malicious ZIP archive, potentially leading to remote code execution on the host system. There is no vendor advisory or patch information available at this time.
Potential Impact
An attacker can write arbitrary files to locations outside the intended extraction directory by exploiting the symlink and file entry ordering in a ZIP archive. This can lead to overwriting critical files or placing malicious files on the host filesystem. The vulnerability potentially enables remote code execution if the attacker writes executable code to a location that is later executed by the system or an application. The CVSS 4.0 score of 6.1 reflects a medium severity with network attack vector, low complexity, and partial user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid extracting ZIP archives from untrusted sources with the decompress package. Consider using alternative extraction tools that properly handle symlinks and path traversal protections. Monitor official decompress package repositories and security advisories for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-06-03T11:55:48.369Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a226dc2e29bf47b503d4de3
Added to database: 6/5/2026, 6:33:38 AM
Last enriched: 6/5/2026, 6:48:46 AM
Last updated: 6/5/2026, 8:07:01 AM
Views: 4
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.