NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

mediumCVSS 4.0 5.6 · 3.1 6.4GHSA-h39j-r5qq-r9mm

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.

Published Jun 5, 2026 · Updated Jul 29, 2026

Affected packages

decompress

Ecosystem
npm
Affected
<= 4.2.1
Fixed in
No patched version yet
Check
npm ls decompress

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to alessandro-mizzaro-sonarsource, Alemmi.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries