CVE-2026-144971
DESCRIPTION
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.
CVSS
HIGH 7.1 · v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/node-modules/compressing/blob/v2.1.3/lib/utils.js#L258-L277
- https://github.com/node-modules/compressing/commit/0495f378bdd17744712e25be48377ead6dd46d73
- https://github.com/node-modules/compressing/releases/tag/v2.1.4
- https://github.com/node-modules/compressing/security/advisories/GHSA-grx6-75c5-f738
- https://www.vulncheck.com/advisories/compressing-before-2.1.4-symlink-containment-bypass-via-self-referential-directory-link
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.