CVE-2026-10732
MEDIUM 5.6CVSS 4.0decompress: Arbitrary File Write via Archive Extraction (Zip Slip)
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.
- Published
- 5 Jun 2026
- Last modified
- 7 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Awaiting Analysis
- Weakness
- CWE-22CWE-29
- Also known as
- GHSA-h39j-r5qq-r9mm
- Sources
- NVDJSONOSV GHSA-h39j-r5qq-r9mmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | MEDIUM 5.6 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | decompress | <= 4.2.1 |
References
- https://gist.github.com/Alemmi/409c3cc148c39522c6d6a8538b0e1f9e · WEB
- https://github.com/kevva/decompress/pull/112 · WEB
- https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-16415209 · WEB
- https://access.redhat.com/security/cve/CVE-2026-10732 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2485376 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10732.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-10732 · ADVISORY
- https://github.com/kevva/decompress · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 5 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2026)