CVE-2026-40931
Severity CVSS v4.0:
Pending analysis
Type:
CWE-59
Link Following
Publication date:
21/04/2026
Last modified:
23/04/2026
Description
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.
Impact
Base Score 3.x
8.40
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:node-modules:compressing:*:*:*:*:*:node.js:*:* | 1.10.5 (excluding) | |
| cpe:2.3:a:node-modules:compressing:*:*:*:*:*:node.js:*:* | 2.0.0 (including) | 2.1.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



