CVE Catalog

CVE-2026-10732

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.53%

41th percentile - higher than 41% of all known CVEs

Summary

The 'decompress' package is vulnerable to Arbitrary File Write via Zip Slip when extracting a crafted ZIP archive with two entries sharing the same path: a symlink followed by a regular file. The file content is written through the symlink to an arbitrary location outside the output directory, bypassing existing path traversal protections including 'preventWritingThroughSymlink' added for CVE-2020-12265.

Risk Assessment

An attacker can achieve remote code execution by providing a specially crafted ZIP archive, leading to full system compromise and potential data loss.

Recommendation

Immediately update the 'decompress' package to the latest patched version or replace it with a safer alternative. Until updated, avoid extracting ZIP archives from untrusted sources.

Original NVD description (English source)

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).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS