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…

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

0
Critical
VulnerabilityCVE-2026-24781cvecve-2026-24781cwe-94cwe-693
Published: Mon May 04 2026 (05/04/2026, 16:33:32 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 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/04/2026, 17:22:54 UTC

Technical Analysis

vm2 is an open source sandbox for Node.js that isolates untrusted code execution. Versions before 3.11.0 contain a sandbox breakout vulnerability through the inspect function, classified under CWE-94 (Improper Control of Generation of Code) and CWE-693. This flaw allows an attacker to inject code that escapes the sandbox environment and execute arbitrary commands on the host system, posing a critical security risk. The vulnerability is addressed by upgrading to vm2 version 3.11.0, which includes the necessary patch to prevent this code injection and sandbox escape.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary code on the host system without any privileges or user interaction, compromising confidentiality, integrity, and availability of the affected system. This can lead to full system compromise, data theft, or disruption of services running on the host.

Mitigation Recommendations

Upgrade vm2 to version 3.11.0 or later, where this vulnerability is patched. Since this is not a cloud service, users must apply the update themselves. No other mitigations are indicated 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-26T21:06:47.869Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69f8d216cbff5d861039702c

Added to database: 5/4/2026, 5:06:30 PM

Last enriched: 5/4/2026, 5:22:54 PM

Last updated: 5/5/2026, 5:27:59 AM

Views: 3

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