Skip to main content
EPSS 1.0%top 40%

CVE-2026-43999: CWE-863: Incorrect Authorization in patriksimek vm2

0
Critical
VulnerabilityCVE-2026-43999cvecve-2026-43999cwe-863gcvecwe-829
Published: 05/13/2026 (05/13/2026, 17:21:22 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: vm2

Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, NodeVM's builtin allowlist can be bypassed when the module builtin is allowed (including via the '*' wildcard). The module builtin exposes Node's Module._load(), which loads any module by name directly in the host context, completely bypassing vm2's builtin restriction. This allows sandboxed code to load excluded builtins like child_process and achieve remote code execution. This vulnerability is fixed in 3.11.0.

CVSS v3.1

Score 9.9critical

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

Affected software

patriksimek

vm2

Affected versions
<3.11.0
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: 08/06/2026, 13:00:43 UTC

Technical Analysis

CVE-2026-43999 describes an incorrect authorization vulnerability (CWE-863) in the vm2 Node.js sandbox prior to version 3.11.0. The vulnerability arises because the builtin module exposes Node's internal Module._load() function, which allows sandboxed code to bypass the builtin allowlist restrictions. This enables loading of excluded built-in modules like child_process, leading to remote code execution in the host environment. The vulnerability has a CVSS v3.1 score of 9.9 (critical) and is fixed in vm2 version 3.11.0. Red Hat advisory confirms the issue and states that an attacker with low privileges who can execute sandboxed code when the builtin module is permitted may exploit this to achieve remote code execution. No known exploits in the wild have been reported. The vendor advisory and Red Hat confirm the fix is available in version 3.11.0.

Potential Impact

The vulnerability allows an attacker with the ability to execute sandboxed code in vm2 (when the builtin module is allowed) to bypass sandbox restrictions and load any built-in Node.js module, including sensitive ones like child_process. This leads to remote code execution on the host system, compromising confidentiality, integrity, and availability with high impact. The CVSS score of 9.9 reflects the critical severity of this flaw.

Mitigation Recommendations

A fix is available in vm2 version 3.11.0. Users should upgrade to vm2 3.11.0 or later to remediate this vulnerability. Until upgraded, avoid allowing the builtin module or the '*' wildcard in the NodeVM builtin allowlist to reduce exposure. The vendor advisory does not mention any other mitigations or temporary fixes.

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-05-04T20:24:31.917Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-43999","vendor":"Red Hat"}]

Threat ID: 6a04ba1fcbff5d8610f48256

Added to database: 05/13/2026, 17:51:27 UTC

Last enriched: 08/06/2026, 13:00:43 UTC

Last updated: 09/13/2026, 22:12:47 UTC

Views: 65

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