cvelo
P2 · HighCVSS 7.1

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

  • CVE-2026-144971
  • EUVD-2026-144242

Summary

compressing versions before 2.1.4 contain a symlink containment bypass in makeUncompressFn in lib/utils.js. An attacker can supply a crafted tar, tgz or zip archive containing a directory symlink pointing to .. along with chained entry paths, allowing symlinks to be planted that point outside the extraction root. When an application follows these links during extraction, the attacker may achieve arbitrary file read or arbitrary file overwrite. The record gives a CVSS score of 7.1. It is not listed in the CISA known exploited vulnerabilities catalog. Engineers using compressing should plan to upgrade to version 2.1.4 or later, and review any code that extracts untrusted archives.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • node-modules compressing

    • If you run a version before 2.1.4update to 2.1.4 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • node-modules compressing

    Affected versionsFixed in
    before 2.1.42.1.4

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.