CVE-2026-101894
CVE-2026-101894 · @xhmikosr/decompress: Path traversal via symlink chain
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.1 · Critical · EPSS 0.8% · Public exploit · Fix available
- Published
- Updated
Stack: node
Affected products and versions
decompress
- Versions
- < 10.2.2: Affected
- >= 11.0.0, < 11.1.4: Affected
No fix published
decompress
- Versions
- <= 4.2.1: Affected
No fix published
@xhmikosr/decompress npm
- Affected ranges
- SEMVER: ≥ 11.0.0, < 11.1.4
Update to 11.1.4
@xhmikosr/decompress npm
- Affected ranges
- SEMVER: < 10.2.2
Update to 10.2.2
decompress npm
- Affected ranges
- SEMVER: ≤ 4.2.1
No fix published
Original sources
- https://github.com/XhmikosR/decompress/security/advisories/GHSA-hrh2-vp3x-79xf
- 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://nvd.nist.gov/vuln/detail/CVE-2026-101894