Home / patriksimek / vm2 / CVE-2026-100721
CVE-2026-100721: is it exploited, and which versions of patriksimek vm2 are affected and fixed?
CVE-2026-100721 is an incorrect authorization vulnerability in patriksimek vm2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: vm2 before 3.12.2 (GitHub advisory GHSA-5h3f-q97h-ccvc). Fixed in 3.12.2 (GitHub advisory GHSA-5h3f-q97h-ccvc). Severity: Critical (9.5, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-100721?
vm2 before 3.12.2 Authorization Bypass via Custom Resolver
vm2 before 3.12.2 contains an authorization bypass in the NodeVM external-module resolver. When an embedder configures `require.external` with a custom resolver (and `context: 'host'`), `LegacyResolver.customResolve` in lib/resolver-compat.js records the resolved module directory in `this.externals` as `new RegExp('^' + escapeRegExp(resolvedPath))`, without requiring a path separator or end-of-string boundary. Untrusted guest code can therefore require the allowlisted module (e.g. `foo`) and then require the absolute path of a non-allowlisted sibling whose path merely shares the resolved prefix (e.g. `.../node_modules/foo2/index.js`); the sibling passes `isPathAllowedForModule` and is loaded through `hostRequire`, so its top-level code runs in the host process before the exports are wrapped with `vm.readonly`, resulting in a sandbox escape and arbitrary code execution in the host context.
From the CVE record by VulnCheck, last updated September 28, 2026, 16:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| patriksimek | vm2 | before 3.12.2 | 3.12.2 |
As the CVE record by VulnCheck states it, last updated September 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | vm2 | < 3.12.2 | 3.12.2 | GHSA-5h3f-q97h-ccvc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 5, 2026. Summary: vm2: NodeVM custom resolution bypasses external path boundaries.
How severe is CVE-2026-100721?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.5 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | VulnCheck |
| Critical 9.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-100721 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, September 28, 2026)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Where are the vendor advisories and references?
- GitHub Security Advisory (GHSA-5h3f-q97h-ccvc) vendor-advisory
- Patch Commit patch
- Patch Commit patch
- Patch Commit patch
- VulnCheck Advisory: vm2 before 3.12.2 Authorization Bypass via Custom Resolver third-party-advisory
Who found and reported it?
- rexpository (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 26, 2026
- Published
- September 27, 2026, 01:28 UTC
- CVE record updated
- September 28, 2026, 16:51 UTC by VulnCheck
- NVD
- Deferred, last modified September 28, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect vm2?
- Sep 27, 2026CVE-2026-100723 patriksimek vm2: information disclosure
- Sep 27, 2026CVE-2026-100722 patriksimek vm2: uncaught exception (crash)
- Sep 18, 2026CVE-2026-93606 patriksimek vm2: protection mechanism failure
- Sep 18, 2026CVE-2026-93605 patriksimek vm2: protection mechanism failure
- Sep 18, 2026CVE-2026-93604 patriksimek vm2: improper access control
- Sep 18, 2026CVE-2026-93603 patriksimek vm2: code injection (remote code execution)
- Sep 17, 2026CVE-2026-92963 patriksimek vm2
- Sep 17, 2026CVE-2026-92962 patriksimek vm2: protection mechanism failure
Questions about CVE-2026-100721
Is CVE-2026-100721 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of patriksimek vm2 are affected by CVE-2026-100721?
vm2 before 3.12.2, per the GitHub advisory GHSA-5h3f-q97h-ccvc. The tables above give every range the sources list.
Which version fixes CVE-2026-100721?
3.12.2, per the GitHub advisory GHSA-5h3f-q97h-ccvc. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-100721?
Critical (9.5, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-100721?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.