p PatchFirst

CVE-2026-92938

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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 · Critique · EPSS 0,6% · Code d’exploitation public · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • vm2

    Versions du logiciel
    • ≥ 3.11.3, < 3.11.7: Concernée (semver)
    • 3.11.7: Non concernée (semver)

    Mettez à jour vers 3.11.7

  • vm2 npm

    Plages de versions concernées
    • SEMVER: ≥ 3.11.3, < 3.11.7

    Mettez à jour vers 3.11.7

Sources originales

Vérifiez votre serveur →