CVE-2026-92938
published critical CVSS 4.0 · 9.4vm2 3.11.3 through 3.11.6 Remote Code Execution via node:sqlite
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm23.11.3 to < 3.11.7 (affected · semver) · 3.11.7 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.9 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patriksimek | vm2 | 3.11.3 to < 3.11.7 (affected · semver)3.11.7 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-693 Protection Mechanism Failure
References
2- GitHub Security Advisory (GHSA-6w8r-xxw2-g3hx) https://github.com/patriksimek/vm2/security/advisories/GHSA-6w8r-xxw2-g3hx
- VulnCheck Advisory: vm2 3.11.3 through 3.11.6 Remote Code Execution via node:sqlite https://www.vulncheck.com/advisories/vm2-3.11.3-through-3.11.6-remote-code-execution-via-node-sqlite
Provider assertions
2VulnCheck · cna
vm2 3.11.3 through 3.11.6 Remote Code Execution via node:sqlite
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b396097c07666e059b9de5abcd221e10a24396fc378596788c70f89ff2ee3053
- Ingested
- 23 Sep 2026, 09:40:21 UTC
- Source record
- Official CVE record