CVE-2026-92960: vm2 before 3.11.6 Process-wide State Exposure via os and dns

Published Sep 17, 2026
·
Updated

vm2 before 3.11.6 fails to restrict access to os and dns builtins under the builtin: [''] configuration, allowing sandbox code to read host process identity and network topology. Attackers can invoke dns.setServers() to hijack the host process DNS resolver globally, redirecting all subsequent host DNS queries through an attacker-controlled resolver.

Affected Software

1 affected component
npm/vm2<3.11.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vm2 to a version that resolves this vulnerability.

    Fixed in 3.11.6
  2. Configuration

    In vm2, do not configure access to host builtins with builtin: ['*']; restrict builtin access so sandbox code cannot access os and dns builtins under the builtin setting.

    vm2 builtin = not ['*']

Event History

Sep 17, 2026
CVE Published
via MITRE·01:46 PM
Data Sourced
via MITRE·01:46 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using vm2 before 3.11.6 are exposed when configured with builtin: ['*']. In that configuration, sandboxed code can access the os and dns builtins.

2

What does an attacker need to exploit this issue?

An attacker needs the ability to execute code inside the vm2 sandbox. No privileges or user interaction are indicated by the supplied vector.

3

What can an attacker do through the exposed builtins?

Sandbox code can read host process identity and network topology through os and dns. It can also call dns.setServers() to change the host process DNS resolver globally and redirect subsequent host DNS queries to an attacker-controlled resolver.

4

What should be prioritized if an immediate upgrade is not possible?

Avoid the builtin: ['*'] configuration, since it is the configuration identified as permitting access to os and dns. Prevent untrusted sandbox code from reaching those builtins.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203