CVE-2026-101894 · GHSA-hrh2-vp3x-79xf
@xhmikosr/decompress: Path traversal via symlink chain
- Risk score
- 76/100
- CVSS
- 9.1 v3.1
- Exploit chance (30 days)
- 0.8%
- Published
- 28 Sep 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 la…
- Affected
- @xhmikosr/decompress (npm) >= 11.0.0, <= 11.1.3; @xhmikosr/decompress (npm) <= 10.2.1; decompress (npm) <= 4.2.1
- Fix
- Upgrade @xhmikosr/decompress to 11.1.4 or 10.2.2 (whichever matches your release line) or later.
- Exploitation
- No known exploitation
Why it is Amber
- CVSS 9.1 critical
- Remotely exploitable without logging in
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| @xhmikosr/decompress | npm | >= 11.0.0, <= 11.1.3 | 11.1.4 |
| @xhmikosr/decompress | npm | <= 10.2.1 | 10.2.2 |
| decompress | npm | <= 4.2.1 | No fix yet |
References
- https://github.com/advisories/GHSA-hrh2-vp3x-79xf
- https://github.com/XhmikosR/decompress/security/advisories/GHSA-hrh2-vp3x-79xf
- https://nvd.nist.gov/vuln/detail/CVE-2026-101894
- https://github.com/XhmikosR/decompress/commit/5f4b2f64abb31bbaf1fef8975b595fd7df2558d8
- https://github.com/XhmikosR/decompress/commit/f6c88c668216d6a12c6cecf4fe0b6c70bf77050a
- https://github.com/XhmikosR/decompress/releases/tag/v10.2.2
- https://github.com/XhmikosR/decompress/releases/tag/v11.1.4
- https://github.com/advisories/GHSA-hrh2-vp3x-79xf
Original description
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.
Last activity 28 Sep 2026. Patch Forecast updates every hour.