Live threats

All CVEs / Node-modules

CVE-2026-40931Node-modules Compressing

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
Apr 21, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Compressing is a compressing and uncompressing lib for node. Prior to 2.1.1 and 1.10.5, the patch for CVE-2026-24884 relies on a purely logical string validation within the isPathWithinParent utility. This check verifies if a resolved path string starts with the destination directory string but fails to account for the actual filesystem state. By exploiting this "Logical vs. Physical" divergence, an attacker can bypass the security check using a Directory Poisoning technique (pre-existing symbolic links). This vulnerability is fixed in 2.1.1 and 1.10.5.

Original NVD text.

What to do

  1. Apply the vendor's security update for Compressing.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm compressing ≥ 2.0.0 < 2.1.1 2.1.1 npm install compressing@2.1.1
npm compressing < 1.10.5 1.10.5 npm install compressing@1.10.5

Per OSV / GitHub Advisories (GHSA-4c3q-x735-j3r5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
node-modulescompressing< 1.10.5
node-modulescompressing≥ 2.0.0 < 2.1.1

Official sources

References

Links published by the sources. Open them with care.