CVE-2026-10732: Arbitrary File Write via Archive Extraction (Zip Slip) in decompress
All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive. **Note:** This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).
AI Analysis
Technical Summary
The decompress package is vulnerable to an arbitrary file write vulnerability via archive extraction (Zip Slip) in all versions. When extracting a specially crafted ZIP archive containing two entries with the same path—first a symlink and then a regular file—the microtask processing order causes the file content to be written through the symlink to an arbitrary target outside the output directory. This bypasses all existing path traversal protections, including the preventWritingThroughSymlink mechanism introduced to fix CVE-2020-12265. An attacker can exploit this to write arbitrary files on the host filesystem, potentially leading to remote code execution.
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 crafted ZIP archive. This arbitrary file write can lead to remote code execution if the attacker writes malicious files to sensitive locations. The vulnerability bypasses existing symlink protections, increasing the risk of exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a patch is available, avoid extracting untrusted ZIP archives with decompress or use alternative tools that do not exhibit this vulnerability.
CVE-2026-10732: Arbitrary File Write via Archive Extraction (Zip Slip) in decompress
Description
All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive. **Note:** This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).
CVSS v4.0
Score 6.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The decompress package is vulnerable to an arbitrary file write vulnerability via archive extraction (Zip Slip) in all versions. When extracting a specially crafted ZIP archive containing two entries with the same path—first a symlink and then a regular file—the microtask processing order causes the file content to be written through the symlink to an arbitrary target outside the output directory. This bypasses all existing path traversal protections, including the preventWritingThroughSymlink mechanism introduced to fix CVE-2020-12265. An attacker can exploit this to write arbitrary files on the host filesystem, potentially leading to remote code execution.
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 crafted ZIP archive. This arbitrary file write can lead to remote code execution if the attacker writes malicious files to sensitive locations. The vulnerability bypasses existing symlink protections, increasing the risk of exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a patch is available, avoid extracting untrusted ZIP archives with decompress or use alternative tools that do not exhibit this vulnerability.
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
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-10732","vendor":"Red Hat"}]
Threat ID: 6a226dc2e29bf47b503d4de3
Added to database: 06/05/2026, 06:33:38 UTC
Last enriched: 07/30/2026, 22:37:32 UTC
Last updated: 07/31/2026, 21:26:48 UTC
Views: 87
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.