# CVE-2026-92938: vm2 3.11.3 through 3.11.6 Remote Code Execution via node:sqlite

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-17T13:46:02.866Z
- Modified: 2026-10-01T15:45:06.211Z
- Also known as: GHSA-6w8r-xxw2-g3hx
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

vm2 versions 3.11.3 through 3.11.6 expose Node.js's host node:sqlite module to code running in NodeVM when that builtin is permitted, either explicitly or through builtin: ['*']. The module is wrapped with vm.readonly(), which prevents property assignment but leaves host-authority callables reachable; in addition, the resolver treats any request starting with 'node:' as a core-module request and the runtime strips only one 'node:' prefix, so a sandbox request for 'node:node:sqlite' resolves to the configured node:sqlite entry. Sandboxed code can therefore create an in-memory DatabaseSync with extension loading enabled and call DatabaseSync.loadExtension() on a native library bundled in the untrusted plugin package (path derived from __dirname). SQLite loads the library into the Node.js host process and invokes its native entry point, giving the sandboxed plugin arbitrary native code execution outside the sandbox with the host process's privileges. The issue is fixed in vm2 3.11.7.

(As written by CVE List.)

## Affected

- patriksimek vm2: from 3.11.3 before 3.11.7 (not affected: 3.11.7)
- vm2 (npm): from 3.11.3 before 3.11.7

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- VulnCheck: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-6w8r-xxw2-g3hx> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vm2-3.11.3-through-3.11.6-remote-code-execution-via-node-sqlite> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92938> (advisory)
- <https://github.com/patriksimek/vm2/commit/aa146a77f859325e079f3bfbfe6d8309af483daa> (web)
- <https://github.com/patriksimek/vm2> (package)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.7> (web)

## Sources

- CVE List: [CVE-2026-92938](https://www.cve.org/CVERecord?id=CVE-2026-92938), CVE Terms of Use, modified 2026-09-19
- GitHub Advisory Database: [GHSA-6w8r-xxw2-g3hx](https://github.com/advisories/GHSA-6w8r-xxw2-g3hx), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-92938](https://nvd.nist.gov/vuln/detail/CVE-2026-92938), Public domain, modified 2026-09-19

---

Page: https://cve.day/CVE-2026-92938 · Whole record: https://cve.day/CVE-2026-92938.json · Rebuilt by cve.day 2026-11-25T22:59:39.242Z
