p PatchFirst

CVE-2026-92938

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.4 · Critical · EPSS 0.6% · Public exploit · Fix available

Published
Updated

Stack: node

Affected products and versions

  • vm2

    Versions
    • ≥ 3.11.3, < 3.11.7: Affected (semver)
    • 3.11.7: Not affected (semver)

    Update to 3.11.7

  • vm2 npm

    Affected ranges
    • SEMVER: ≥ 3.11.3, < 3.11.7

    Update to 3.11.7

Original sources

Check your server →