← Back to CVEs
CVE-2026-40931
HIGH8.4
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.
CVE Details
CVSS v3.1 Score8.4
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/21/2026
Last Modified4/23/2026
Sourcenvd
Honeypot Sightings0
Affected Products
node-modules:compressing
Weaknesses (CWE)
CWE-59
References
https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5(security-advisories@github.com)
https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.