CVE Explorer
CVE-2026-40931
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 symbol
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"compressing","vendor":"node-modules","versions":[{"status":"affected","version":">=2.0.0, < 2.1.1"},{"status":"affected","version":"< 1.10.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d99d4c49a0854904a152687037bcf27f3e1f2932f12cf4ffd2e212fa1afa8aef · sha256:f1efaa4fa8b64565… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d99d4c49a0854904a152687037bcf27f3e1f2932f12cf4ffd2e212fa1afa8aef · sha256:f1efaa4fa8b64565… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d99d4c49a0854904a152687037bcf27f3e1f2932f12cf4ffd2e212fa1afa8aef · sha256:f1efaa4fa8b64565… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d99d4c49a0854904a152687037bcf27f3e1f2932f12cf4ffd2e212fa1afa8aef · sha256:f1efaa4fa8b64565… · /containers/adp/0/references/0
{"name":"https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d99d4c49a0854904a152687037bcf27f3e1f2932f12cf4ffd2e212fa1afa8aef · sha256:f1efaa4fa8b64565… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.