---
title: "CVE-2026-24781: VM2 Has Sandbox Breakout Through Inspect Function"
url: https://erroneo.us/security/cve/CVE-2026-24781/
description: "CVE-2026-24781 (vm2 (npm)): vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-04
date_modified: 2026-07-15
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-24781"
kev: false
cvss: 9.8
epss: 0.01186
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-24781: VM2 Has Sandbox Breakout Through Inspect Function

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.2% , percentile 68: FIRST’s model estimates a 1.2% chance of exploitation activity in the next 30 days, higher than 68% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes vm2 (npm) <= 3.10.3, fixed in 3.11.0 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `vm2` <= 3.10.3 → fixed: 3.11.0

## Affected products (CVE record)

- patriksimek vm2: < 3.11.0

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP CVSS 3.1: 8.1 `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.19% probability of exploitation activity in the next 30 days; percentile 68.

## Sources

- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:36754)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:26234)
- [GitHub Advisory GHSA-v37h-5mfm-c47c](https://github.com/advisories/GHSA-v37h-5mfm-c47c)
- [CVE.org record CVE-2026-24781](https://www.cve.org/CVERecord?id=CVE-2026-24781)
- [NVD entry CVE-2026-24781](https://nvd.nist.gov/vuln/detail/CVE-2026-24781)
- [github.com](https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c)
- [github.com](https://github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd1189)
- [github.com](https://github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c)
- [github.com](https://github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228)
- [github.com](https://github.com/patriksimek/vm2/releases/tag/v3.11.0)
- [access.redhat.com](https://access.redhat.com/security/cve/CVE-2026-24781)
- [RHBZ#2466531](https://bugzilla.redhat.com/show_bug.cgi?id=2466531)
- [security.access.redhat.com](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24781.json)

---
Source page: https://erroneo.us/security/cve/CVE-2026-24781/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
