CVE-2026-40931 Complete Bypass of CVE-2026-24884 Patch via Git-Delivered Symlink Poisoning in compressing
HighCVSS 7.8
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| node-modules compressing | < 1.10.5; = < 1.10.5; = >=2.0.0, < 2.1.1; >= 2.0.0, < 2.1.1 | 1.10.5, 2.1.1 | Fixed |
| npm compressing(npm) | < 1.10.5; <= 1.10.4; >= 2.0.0, < 2.1.1; >= 2.0.0, <= 2.1.0 | 1.10.5, 2.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| node-modules compressing | = >=2.0.0, < 2.1.1 | No fix listed |
| node-modules compressing | = < 1.10.5 | No fix listed |
| npm compressing(npm) | >= 2.0.0, <= 2.1.0 | No fix listed |
| npm compressing(npm) | <= 1.10.4 | No fix listed |
| node-modules compressing | < 1.10.5 | 1.10.5 |
| node-modules compressing | >= 2.0.0, < 2.1.1 | 2.1.1 |
| npm compressing(npm) | >= 2.0.0, < 2.1.1 | 2.1.1 |
| npm compressing(npm) | < 1.10.5 | 1.10.5 |
References
- https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5 exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product