CVE-2026-40931
Last modified
CVE-2026-40931 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Node-Modules | Compressing | < 1.10.5 |
| Node-Modules | Compressing | >= 2.0.0, < 2.1.1 |
References
- https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5Exploit, Mitigation, Vendor Advisory
- https://github.com/node-modules/compressing/security/advisories/GHSA-4c3q-x735-j3r5Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40931?
How severe is CVE-2026-40931?
How do I fix CVE-2026-40931?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40926WWBN AVideo is an open source video platform. In versions 29…7.1
- CVE-2026-40927Docmost is open-source collaborative wiki and documentation …5.4
- CVE-2026-40928WWBN AVideo is an open source video platform. In versions 29…5.4
- CVE-2026-40929WWBN AVideo is an open source video platform. In versions 29…5.4
- CVE-2026-4093In the Drupal 7 Term Reference Tree module, two stored XSS v…5.4
- CVE-2026-40930LIBPNG is a reference library for use in applications that p…5.4
- CVE-2026-40933Flowise is a drag & drop user interface to build a customize…9.9
- CVE-2026-40934Jupyter Server is the backend for Jupyter web applications. …6.8
- CVE-2026-40935WWBN AVideo is an open source video platform. In versions 29…5.3
- CVE-2026-40937RustFS is a distributed object storage system built in Rust.…8.3
- CVE-2026-40938Tekton Pipelines project provides k8s-style resources for de…8.5
- CVE-2026-40939The Data Sharing Framework (DSF) implements a distributed pr…6.8
Are you affected by CVE-2026-40931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
