CVE-2026-101894XhmikosR decompress
Directory containment bypass via symlink chains in decompress
Critical 9.1 No auth needed
Follow: this CVE · XhmikosR · XhmikosR decompress We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 28, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
The decompress package for Node.js allows attackers to bypass containment checks using crafted archives with planted symlink chains. An attacker can read or write files outside the output directory, potentially overwriting startup scripts or configurations to achieve remote code execution. The maintained @xhmikosr/decompress is patched in versions 10.2.2 and 11.1.4, but the unmaintained decompress package remains vulnerable.
Show the original NVD text
The decompress package for Node.js extracts archives. Prior to 10.2.2 and 11.1.4, the default decompress(input, output) API relies on lexical containment checks that do not account for the kernel following a planted symlink chain. An attacker can supply a crafted archive containing chained symlink entries so that a later entry resolves outside the output directory. This allows files outside output to be read or written, and overwriting startup scripts or configuration can lead to remote code execution. The maintained @xhmikosr/decompress package is fixed in 10.2.2 and 11.1.4, but the separately affected unmaintained decompress package remains unpatched through 4.2.1. This vulnerability results from a bypass of the incomplete hardening for CVE-2026-53486. @xhmikosr/decompress is fixed in versions 10.2.2 and 11.1.4.
What to do
Patch available · fixed versions: 10.2.2, 11.1.4
Update @xhmikosr/decompress to version 10.2.2 or 11.1.4. The original decompress package has no patch available; consider migrating to @xhmikosr/decompress.
- Apply the vendor's security update for decompress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @xhmikosr/decompress |
≥ 11.0.0 < 11.1.4 |
11.1.4 |
npm install @xhmikosr/decompress@11.1.4 |
| npm | @xhmikosr/decompress |
< 10.2.2 |
10.2.2 |
npm install @xhmikosr/decompress@10.2.2 |
| npm | decompress |
≤ 4.2.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-hrh2-vp3x-79xf). Check the version in your lockfile before upgrading.
Affected products
- XhmikosR · decompress
- kevva · decompress
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.