Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 59%

CVE-2026-10732: Arbitrary File Write via Archive Extraction (Zip Slip) in decompress

0
Medium
VulnerabilityCVE-2026-10732cvecve-2026-10732
Published: 06/05/2026 (06/05/2026, 05:00:02 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P

Affected software

decompress
pkg:npm/decompress
Affected versions
*

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

AILast updated: 07/30/2026, 22:37:32 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses