Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Node-Modules | Compressing | < 1.10.5 |
Related Weaknesses (CWE)
References
- https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-jExploitMitigationVendor Advisory
- https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-jExploitMitigationVendor Advisory
FAQ
What is CVE-2026-40931?
CVE-2026-40931 is a vulnerability with a CVSS score of 8.4 (HIGH). 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....
How severe is CVE-2026-40931?
CVE-2026-40931 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40931?
Check the references section above for vendor advisories and patch information. Affected products include: Node-Modules Compressing.