AploSec / Disclosures / CVE-2026-144971

High 7.1ReportedFixed in 2.1.4CWE-59npm

compressing before 2.1.4 Symlink Containment Bypass via Self-Referential Directory Link

CVE-2026-144971 · published 2026-12-04

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

Summary

CVE-2026-144971 affects compressing (npm) < 2.1.4: Symlink Containment Bypass via Self-Referential Directory Link (CWE-59). Fixed in 2.1.4. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade compressing to 2.1.4 or later. Releases in the affected range (< 2.1.4) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-04 CVE published

References

Severity
High 7.1CVSS 4.0, scored by VulnCheck in the CVE record
Package
compressing
Ecosystem
npm
Affected
< 2.1.4
Fixed
2.1.4
Weakness
CWE-59
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder