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.
References
| Link | Resource |
|---|---|
| https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5 | Exploit Mitigation Vendor Advisory |
| https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5 | Exploit Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
23 Apr 2026, 15:49
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:node-modules:compressing:*:*:*:*:*:node.js:*:* | |
| First Time |
Node-modules
Node-modules compressing |
|
| References | () https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5 - Exploit, Mitigation, Vendor Advisory |
22 Apr 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5 - |
21 Apr 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-21 22:16
Updated : 2026-04-23 15:49
NVD link : CVE-2026-40931
Mitre link : CVE-2026-40931
CVE.ORG link : CVE-2026-40931
JSON object : View
Products Affected
node-modules
- compressing
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
