Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 44%

CVE-2026-24118: CWE-94: Improper Control of Generation of Code ('Code Injection') in patriksimek vm2

0
Critical
VulnerabilityCVE-2026-24118cvecve-2026-24118cwe-94cwe-693
Published: 05/04/2026 (05/04/2026, 16:28:43 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: vm2

Description

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability. 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.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

vm2
pkg:npm/vm2
Affected versions
<3.11.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:37:15 UTC

Technical Analysis

CVE-2026-24118 is a critical vulnerability in the patriksimek vm2 Node.js sandbox prior to version 3.11.0. It involves improper control of code generation (CWE-94) that enables sandbox breakout, allowing attackers to execute arbitrary code on the host system outside the intended sandbox environment. This vulnerability has a CVSS 3.1 base score of 9.8, indicating high exploitability and impact. The vulnerability is fixed in vm2 version 3.11.0. Red Hat has published an advisory referencing this CVE.

Potential Impact

Successful exploitation allows an unauthenticated attacker to escape the vm2 sandbox and execute arbitrary commands on the host system, leading to full compromise of the host environment. Confidentiality, integrity, and availability of the host system are all severely impacted.

Mitigation Recommendations

Upgrade vm2 to version 3.11.0 or later to apply the official fix for this vulnerability. No other mitigations are indicated in the vendor advisory. Patch status is confirmed by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-21T18:38:22.472Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-24118","vendor":"Red Hat"}]

Threat ID: 69f8d213cbff5d8610396f3a

Added to database: 05/04/2026, 17:06:27 UTC

Last enriched: 07/15/2026, 08:37:15 UTC

Last updated: 08/01/2026, 07:17:59 UTC

Views: 79

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses