Skip to main content

vm2 before 3.12.2 contains an authorization bypass in the NodeVM external-module resolver. (CVE-2026-100721)

0
Critical
Published: 09/27/2026 (09/27/2026, 03:31:03 UTC)
Source: GCVE Database

Description

vm2 versions prior to 3.12.2 have an authorization bypass vulnerability in the NodeVM external-module resolver. This flaw allows untrusted guest code to load and execute code from non-allowlisted sibling modules by exploiting how resolved module paths are matched. The vulnerability leads to sandbox escape and arbitrary code execution in the host context.

CVSS v3.1

Score 9.0critical

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

Affected software

vm2
pkg:npm/vm2
Affected versions
<3.12.2

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: 09/27/2026, 04:36:49 UTC

Technical Analysis

The vulnerability in vm2 before version 3.12.2 arises from improper authorization checks in the NodeVM external-module resolver when a custom resolver is configured with `require.external` and `context: 'host'`. The resolver records allowed module directories using a regular expression that does not enforce path boundaries, allowing untrusted code to require sibling modules whose paths share a prefix with allowlisted modules. This bypasses the intended allowlist, causing the sibling module's top-level code to execute in the host process before sandboxing, resulting in arbitrary code execution and sandbox escape.

Potential Impact

Successful exploitation allows untrusted guest code to escape the vm2 sandbox and execute arbitrary code in the host environment with the privileges of the host process. This compromises the isolation guarantees of vm2, potentially leading to full host compromise.

Mitigation Recommendations

A fix is available in vm2 version 3.12.2. Users should upgrade to version 3.12.2 or later to remediate this vulnerability. No other mitigations are indicated.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c9wr-qm7p-p6vc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-100721"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6ab89bc2f7a7c54106941ed4

Added to database: 09/27/2026, 04:29:54 UTC

Last enriched: 09/27/2026, 04:36:49 UTC

Last updated: 09/27/2026, 06:47:45 UTC

Views: 21

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