CVE-2026-10732
decompress: Arbitrary File Write via Archive Extraction (Zip Slip)
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 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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars » decompressvia npm decompress | <= 4.2.1 | - |
| org.webjars.npm » decompressvia npm decompress | <= 4.2.1 | - |
Blast radius
100% of the dependent artifacts (12) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1 |
| 2 hops | 2 |
| 3 hops | 4 |
| 4 hops | 8 |
| 5 hops | 2 |
Most used dependents
- org.webjars » bin-build4 usages
- org.webjars » bin-wrapper4 usages
- org.webjars » download2 usages
- org.webjars » imagemin-gifsicle1 usages
- org.webjars » imagemin-jpegtran1 usages
- org.webjars » imagemin-optipng1 usages
- org.webjars » imagemin-pngquant1 usages
- org.webjars » gifsicle1 usages
- org.webjars » jpegtran-bin1 usages
- org.webjars » optipng-bin1 usages
- org.webjars » pngquant-bin1 usages
- org.webjars » imagemin0 usages
Computed from the dependency graph of build 20261205.0236 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-10732 | nvd.nist.gov |
| Package | kevva/decompress | github.com |
| Web | kevva/decompress pull request #112 | github.com |
| Web | security/cve/CVE-2026-10732 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | Alemmi/409c3cc148c39522c6d6a8538b0e1f9e | gist.github.com |
| Web | data/csaf/v2/vex/2026/cve-2026-10732.json | security.access.redhat.com |
| Web | vuln/SNYK-JS-DECOMPRESS-16415209 | security.snyk.io |
