{"id":"CVE-2026-44003","published":"2026-05-13T17:30:38Z","modified":"2026-05-13T18:41:25Z","title":"vm2: Transformer Fast-Path Bypass Exposes Internal State Variable","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's code transformer has a performance optimization that skips AST analysis when the code does not contain catch, import, or async keywords. This fast-path bypass allows sandboxed code to directly access the internal VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL variable, which exposes internal security functions (handleException, wrapWith, import). This vulnerability is fixed in 3.11.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00248,"percentile":0.16445,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":3.29},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-13T18:40:49.017308Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.0"],"patched":["3.11.0"],"from":["GHSA-wp5r-2gw5-m7q7"],"provenance":"source"}],"summary":{"text":"The flaw is a fast-path bypass in the code transformer of vm2, an open source Node.js vm/sandbox, where AST analysis is skipped for code lacking the catch, import, or async keywords. This lets sandboxed code directly reach the internal VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL variable and the security functions it exposes (handleException, wrapWith, import). An attacker can exploit this over the network with no privileges or user interaction, simply by supplying code to the sandbox that avoids those keywords.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:08Z"},"euvd":{"id":"EUVD-2026-30073","exploited":false,"provenance":"source"}}