1. Archivio CVE
  2. 2026
  3. CVE-2026-92946

CVE-2026-92946

10 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 10 – Critica

Descrizione

vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
patriksimek vm2 < 3.11.7 –
Tutte le 45 vulnerabilità di Patriksimek Vm2

Tipo di vulnerabilità

CWE-913 Improper Control of Dynamically-Managed Code Resources

The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.

Impatto sui sistemi

AmbitoImpatto
Integrità Eseguire codice o comandi non autorizzati
Altro, Integrità Dipende dal contesto, Alterare la logica di esecuzione

Come si previene

Sviluppo · Validazione dell’input For any externally-influenced input, check the input against an allowlist of acceptable values.
Sviluppo · Architettura e progettazione · Refactoring Refactor the code so that it does not need to be dynamically managed.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 101 CVE di tipo CWE-913, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org