cve.bz

CVE-2026-100722 patriksimek vm2: Uncaught Exception

8.9 highEPSS 0.3%Fix available

High (8.9) in patriksimek vm2. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in vm2 3.12.2.

On this page
vm2 before 3.12.2 does not apply host-side Promise rejection handling in the sandbox-to-host construct trap. In BaseHandler, the apply trap calls markHostPromiseHandled() on the returned value, but the adjacent construct path returns the result of Reflect.construct without the same sanitization. If an embedder exposes a constructable host function whose constructor returns a native rejected Promise, an untrusted script executed via VM.run can invoke it with `new` and ignore the result; the rejected host Promise crosses the bridge unhandled and, under Node's strict unhandled-rejection policy, is promoted to an uncaught exception that terminates the host process.

Severity

CVSS 4.0

8.9 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-09-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-248 Uncaught Exception
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • vm2 (npm): fixed in 3.12.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-100722 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-100722?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-100722?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-100722 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
patriksimek vm2before 3.12.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2v2p-6j97-cjg9npmvm2<3.12.23.12.2

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat has evaluated this vulnerability as having a Moderate security impact because exploitation leads solely to a denial of service through host process termination rather than remote code execution or sandbox escape. The flaw can only be triggered if the hosting application explicitly exposes a constructor returning a rejected Promise to the sandboxed runtime, requiring specific integration conditions. Consequently, the blast radius is confined to service availability for containers embedding this library, such as services within Red Hat Developer Hub and Ansible Automation Platform.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backendFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backendFix deferred
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Fix deferred
Self-service automation portal 2ansible-automation-platform/automation-portalFix deferred
Self-service automation portal 2ansible-automation-platform/bootc-automation-portal-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-100722.

References

Check your stackJSON