cvedb.io
CVE-2026-40931
HIGH · CVSS 8.4
EPSS exploitation probability: 0%
Published 2026-04-21T22:16:19.247 · Last modified 2026-06-17T10:45:54.323

Summary

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.

Affected products

node-modules — compressing

Does this affect you?

Add your gear to cvedb and we'll alert you only when node-modules ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.