Vulnerability · Published Jun 5, 2026 · Assigned by snyk
CVE-2026-10732
Medium 6.4
In plain English
A medium-severity path traversal in decompress. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities).
Official 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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | decompress | no fix listed | GHSA-h39j-r5qq-r9mm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | decompress | 0 – before * |
Weakness: CWE-29, CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L/E:P
References
- https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-16415209
- https://gist.github.com/Alemmi/409c3cc148c39522c6d6a8538b0e1f9e
- https://github.com/kevva/decompress/pull/112
- https://access.redhat.com/security/cve/CVE-2026-10732 vdb-entry, x_refsource_REDHAT
- RHBZ#2485376 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10732.json x_sadp-csaf-vex