CVE-2026-40931
Published:April 21, 2026
Updated:April 23, 2026
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.
Affected Packages
https://github.com/node-modules/compressing.git (GITHUB):
Affected version(s) >=v1.6.2 <v1.10.5Fix Suggestion:
Update to version v1.10.5https://github.com/node-modules/compressing.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.1.1Fix Suggestion:
Update to version v2.1.1compressing (NPM):
Affected version(s) >=1.0.0 <1.10.5Fix Suggestion:
Update to version 1.10.5compressing (NPM):
Affected version(s) >=1.0.0 <1.10.5Fix Suggestion:
Update to version 1.10.5compressing (NPM):
Affected version(s) >=2.0.0 <2.1.1Fix Suggestion:
Update to version 2.1.1Related ResourcesĀ (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.4
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Link Resolution Before File Access ('Link Following')
EPSS
Base Score:
0.01