Paper/Archive/CVE-2026-101894

CVE-2026-101894

XhmikosR decompress — @xhmikosr/decompress: Path traversal via symlink chain

Description · from the CVE record

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

ProductAffectedFixed inSource
decompress< 10.2.2–CNA
decompress>= 11.0.0, < 11.1.4–CNA
decompress<= 4.2.1–CNA

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/XhmikosR/decompress/security/advisories/GHSA-hrh2-vp3x-79xfrefgithub.com/XhmikosR/decompress/commit/5f4b2f64abb31bbaf1fef8975b595fd7df2558d8refgithub.com/XhmikosR/decompress/commit/f6c88c668216d6a12c6cecf4fe0b6c70bf77050arefgithub.com/XhmikosR/decompress/releases/tag/v10.2.2refgithub.com/XhmikosR/decompress/releases/tag/v11.1.4