CVE-2026-92938

Source
https://cve.org/CVERecord?id=CVE-2026-92938
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92938.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-92938
Aliases
  • GHSA-6w8r-xxw2-g3hx
Published
2026-09-17T13:46:02Z
Modified
2026-09-19T11:30:42Z
Severity
  • 9.4 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
vm2 3.11.3 through 3.11.6 Remote Code Execution via node:sqlite
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-693"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92938.json"
}
References

Affected packages

Git / github.com/patriksimek/vm2

Affected ranges

Type
GIT
Repo
https://github.com/patriksimek/vm2
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.11.3"
        },
        {
            "fixed": "3.11.7"
        },
        {
            "fixed": "3.11.6"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

3.*
3.11.6
v3.*
v3.11.3
v3.11.4
v3.11.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92938.json"