CVE-2026-40931
HIGH 7.8CVSS 3.1Complete Bypass of CVE-2026-24884 Patch via Git-Delivered Symlink Poisoning in compressing
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.
- Published
- 21 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-59
- Also known as
- GHSA-4c3q-x735-j3r5
- Sources
- NVDJSONOSV GHSA-4c3q-x735-j3r5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-modules | compressingcpe:2.3:a:node-modules:compressing:*:*:*:*:*:node.js:*:* |
< 1.10.5 | 1.10.5 |
| NVD | node-modules | compressingcpe:2.3:a:node-modules:compressing:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 2.1.1 | 2.1.1 |
| OSV | npm | compressing | >= 2.0.0, < 2.1.1 | 2.1.1 |
| OSV | npm | compressing | < 1.10.5 | 1.10.5 |
References
- https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5 · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40931 · ADVISORY
- https://github.com/node-modules/compressing · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Apr 2026)