Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-40931
VULNERABILITY

CVE-2026-40931

Common Vulnerabilities and Exposures record

HIGH

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.

Risk

CVSS
8.4
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Apr 21, 2026 22:16
Modified
Oct 26, 2026 21:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-59

Affected product identifiers

cpe:2.3:a:node-modules:compressing:*:*:*:*:*:node.js:*:*

References