Symlink containment bypass in compressing lets attackers read or overwrite files
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The compressing package for Node.js before 2.1.4 has a symlink containment bypass in makeUncompressFn in lib/utils.js, tracked as CWE-59. An attacker can supply a crafted tar, tgz or zip archive with a directory symlink to .. and chained entry paths that place symlinks outside the extraction root. Applications that follow these links allow arbitrary file read or overwrite, and the CVSS 4.0 vector shows the attacker needs no privileges but user interaction is required.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
compressing before 2.1.4 contains a symlink containment bypass in makeUncompressFn in lib/utils.js that lets attackers plant symlinks pointing outside the extraction root. Attackers can supply a crafted tar, tgz or zip archive with a directory symlink to .. and chained entry paths, enabling arbitrary file read or overwrite when applications follow the link.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| node-modules | compressing | before 2.1.4 | 2.1.4 | Patch available | CNA |
- compressing Vendornode-modules Affected before 2.1.4 Fixed in 2.1.4 Patch available CNA
Remediation
Update compressing to version 2.1.4 or later, which fixes the flaw. CVE and GHSA advisory identifiers for this fix are not listed in the sources.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA compressing (node-modules) Fixed in 2.1.4
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144971
- 2026-12-04 Alias added: GHSA-27m3-q9r2-xhj6
References
More node-modules vulnerabilities
- TI-2026-40097 urllib: Cross-origin redirects preserve credential-bearing request headers, leading to potential credential leakage CVSS 3.1HIGH 7.5
- TI-2026-29585 Complete Bypass of CVE-2026-24884 Patch via Git-Delivered Symlink Poisoning in compressing CVSS 3.1HIGH 8.4
- TI-2026-20070 Compressing Vulnerable to Arbitrary File Write via Symlink Extraction CVSS 3.1HIGH 8.4
Sources
- CVE-2026-144971 · CVE Program
- CVE-2026-144971 · NVD
- GHSA-27m3-q9r2-xhj6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences