Skip to main content
Menu
CVEs

compressing arbitrary file read and overwrite in makeUncompressFn

Affects compressing 2.1.3 and earlier when extracting crafted tar archives with tar.uncompress. No vendor severity rating is given. Fixed in 2.1.4.

CVE-2026-144971EUVD-2026-144242Published December 4, 2026, updated

7.1HighCNA
Exploited
No known exploitation
Fix
Fixed in 2.1.4
Who is exposed
Specific setups only

Summary

The compressing package from node-modules has a symlink containment bypass in its makeUncompressFn function in lib/utils.js. A remote attacker, without logging in, can supply a crafted tar, tgz, or zip archive with a directory symlink to .. and chained entry paths, which enables arbitrary file read or overwrite when an application follows the link.

Written by a model

Original 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.

Who should check

Teams running Node.js services or tools that use the compressing npm package to extract tar, tgz or zip archives from untrusted sources, including anyone depending on it indirectly.

“Affected versions <= 2.1.3”

github.com

What to do

  1. Check whether your setup matches what the bug needs.

    compressing version 2.1.3 or earlier (affected versions <= 2.1.3); fixed in 2.1.4 Extraction of a crafted tar archive via tar.uncompress (zip path shares the helper; tar was tested)
  2. Upgrade to a fixed version: 2.1.4.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-144971 (compressing before 2.1.4 Symlink Containment Bypass via Self-Referential Directory Link), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-144971 (entry last updated 2026-12-04):
Affected:
- npm package compressing: fixed in 2.1.4
Fixed versions: 2.1.4.
Conditions (all must be true for the bug to be hit):
- compressing version 2.1.3 or earlier (affected versions <= 2.1.3); fixed in 2.1.4 (source: https://github.com/node-modules/compressing/security/advisories/GHSA-grx6-75c5-f738)
- Extraction of a crafted tar archive via tar.uncompress (zip path shares the helper; tar was tested) (source: https://github.com/node-modules/compressing/security/advisories/GHSA-grx6-75c5-f738)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-144971 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-144971 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/node-modules/compressing/security/advisories/GHSA-grx6-75c5-f738
- 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/blob/v2.1.3/lib/utils.js#L258-L277
- https://www.vulncheck.com/advisories/compressing-before-2.1.4-symlink-containment-bypass-via-self-referential-directory-link
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-144971
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-144971"}.

Affected versions

cve.now Index

31Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure12/25Specific setups only, reachable over the network without a login
  • Reach12/20compressing: 207.4K downloads a week
  • Severity7.1/10CVSS 7.1
  • No patch0/5No signal

What would change the score

  • Would score about 81 if added to CISA KEV
  • Would score about 76 if CISA's SSVC rates exploitation active

Impact

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 7

Questions about CVE-2026-144971

Is CVE-2026-144971 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

Extracting a crafted tar archive can plant a symlink that points anywhere on the filesystem. Following that symlink can read or overwrite files outside the extraction directory.

Source: github.com

Which versions are affected by CVE-2026-144971?

compressing (npm): before 2.1.4.

Source: cve.now feed data

Am I affected, and how do I check?

Versions compressing 2.1.3 and earlier are affected. The reported case is extraction with tar.uncompress; the zip path shares the same helper but was not tested. To check a project, look at the installed compressing version in package.json or the output of npm ls compressing.

Source: github.com

How do I fix CVE-2026-144971?

Upgrade compressing to 2.1.4 or later.

Source: github.com

No corrections so far. Something wrong on this page? Report an error.