# CVE-2026-144971: compressing before 2.1.4 Symlink Containment Bypass via Self-Referential Directory Link

Source: https://aplosec.si/cve/CVE-2026-144971/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-144971

High 7.1 · Reported · Fixed in 2.1.4 · CWE-59 · npm

# 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

- [Referencehttps://github.com/node-modules/compressing/security/advisories/GHSA-grx6-75c5-f738](https://github.com/node-modules/compressing/security/advisories/GHSA-grx6-75c5-f738)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/compressing-before-2.1.4-symlink-containment-bypass-via-self-referential-directory-link](https://www.vulncheck.com/advisories/compressing-before-2.1.4-symlink-containment-bypass-via-self-referential-directory-link)

- [Fix commithttps://github.com/node-modules/compressing/commit/0495f378bdd17744712e25be48377ead6dd46d73](https://github.com/node-modules/compressing/commit/0495f378bdd17744712e25be48377ead6dd46d73)

- [Releasehttps://github.com/node-modules/compressing/releases/tag/v2.1.4](https://github.com/node-modules/compressing/releases/tag/v2.1.4)

- [Vulnerable codehttps://github.com/node-modules/compressing/blob/v2.1.3/lib/utils.js#L258-L277](https://github.com/node-modules/compressing/blob/v2.1.3/lib/utils.js#L258-L277)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144971](https://www.cve.org/CVERecord?id=CVE-2026-144971)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144971](https://nvd.nist.gov/vuln/detail/CVE-2026-144971)

**Severity:** High 7.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-144971)

**Package:** compressing

**Ecosystem:** npm

**Affected:** < 2.1.4

**Fixed:** 2.1.4

**Weakness:** CWE-59

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
