CVE-2026-101894 @xhmikosr/decompress: Path traversal via symlink chain
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| XhmikosR decompress | = < 10.2.2 | No fix listed |
| XhmikosR decompress | = >= 11.0.0, < 11.1.4 | No fix listed |
| kevva decompress | = <= 4.2.1 | No fix listed |
| XhmikosR decompress(npm) | >= 11.0.0, <= 11.1.3 | No fix listed |
| XhmikosR decompress(npm) | <= 10.2.1 | No fix listed |
| npm decompress(npm) | <= 4.2.1 | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2542567 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory
- https://github.com/XhmikosR/decompress/commit/5f4b2f64abb31bbaf1fef8975b595fd7df2558d8 patch
- https://github.com/XhmikosR/decompress/commit/f6c88c668216d6a12c6cecf4fe0b6c70bf77050a patch
- https://github.com/XhmikosR/decompress/releases/tag/v10.2.2
- https://github.com/XhmikosR/decompress/releases/tag/v11.1.4
- https://github.com/XhmikosR/decompress/security/advisories/GHSA-hrh2-vp3x-79xf vendor-advisory
- github.com