Home / patriksimek / vm2 / CVE-2026-24781
CVE-2026-24781: is it exploited, and which versions of patriksimek vm2 are affected and fixed?
CVE-2026-24781 is a code injection (remote code execution) vulnerability in patriksimek vm2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: vm2 before 3.11.0 (GitHub advisory GHSA-v37h-5mfm-c47c). Fixed in 3.11.0 (GitHub advisory GHSA-v37h-5mfm-c47c). Severity: Critical (9.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-24781?
vm2: Sandbox Breakout Through Inspect
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| patriksimek | vm2 | < 3.11.0 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | vm2 | < 3.11.0 | 3.11.0 | GHSA-v37h-5mfm-c47c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2026. Summary: VM2 Has Sandbox Breakout Through Inspect Function.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vm2 project | vm2 | before 3.11.0 | application |
NVD analysis (status Modified), last modified October 26, 2026, 19:10 UTC.
How severe is CVE-2026-24781?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-24781 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, May 4, 2026)
- EPSS
- 1.21% probability of exploitation activity in the next 30 days, percentile 69.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
- CWE-693 Protection Mechanism Failure
- CWE-653 Improper Isolation or Compartmentalization
Where are the vendor advisories and references?
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c x_refsource_CONFIRM
- https://github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd1189 x_refsource_MISC
- https://github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c x_refsource_MISC
- https://github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228 x_refsource_MISC
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-24781 vdb-entry, x_refsource_REDHAT
- RHBZ#2466531 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24781.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:36754 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26234 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- January 26, 2026
- Published
- May 4, 2026, 16:33 UTC
- CVE record updated
- July 15, 2026, 01:16 UTC by GitHub_M
- NVD
- Modified, last modified October 26, 2026, 19:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect vm2?
- Sep 27, 2026CVE-2026-100723 patriksimek vm2: information disclosure
- Sep 27, 2026CVE-2026-100722 patriksimek vm2: uncaught exception (crash)
- Sep 27, 2026CVE-2026-100721 patriksimek vm2: incorrect authorization
- Sep 18, 2026CVE-2026-93606 patriksimek vm2: protection mechanism failure
- Sep 18, 2026CVE-2026-93605 patriksimek vm2: protection mechanism failure
- Sep 18, 2026CVE-2026-93604 patriksimek vm2: improper access control
- Sep 18, 2026CVE-2026-93603 patriksimek vm2: code injection (remote code execution)
- Sep 17, 2026CVE-2026-92963 patriksimek vm2
Questions about CVE-2026-24781
Is CVE-2026-24781 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 1.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of patriksimek vm2 are affected by CVE-2026-24781?
vm2 before 3.11.0, per the GitHub advisory GHSA-v37h-5mfm-c47c. The tables above give every range the sources list.
Which version fixes CVE-2026-24781?
3.11.0, per the GitHub advisory GHSA-v37h-5mfm-c47c. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-24781?
Critical (9.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-24781?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.