CVE-2026-92941
10.0patriksimek · vm2
The vm2 sandbox library fails to properly isolate the host tls module, allowing unauthenticated attackers to manipulate the process-wide TLS trust store and intercept secure communications.
Executive summary
A critical security flaw in the vm2 library allows unauthenticated attackers to compromise the host TLS trust store, enabling man-in-the-middle attacks and complete bypass of secure communication protocols.
Vulnerability
This vulnerability involves the improper exposure of the host tls module to the NodeVM sandbox, which allows unauthenticated code execution to modify certificate authorities. By invoking the tls.setDefaultCACertificates() function, an attacker can force the host environment to trust malicious certificates.
Business impact
The ability to manipulate the host certificate authority store grants an attacker the power to intercept, decrypt, and modify encrypted traffic originating from the host system. Given the CVSS score of 10.0, this represents a total compromise of confidentiality and integrity for all applications relying on the affected vm2 sandbox. Such an exploit could lead to the theft of sensitive credentials, session tokens, and proprietary data, posing a severe risk to organizational operations and regulatory compliance.
Remediation
Immediate Action: Update the patriksimek vm2 library to version 3.11.7 or later to ensure the host tls module is correctly sandboxed.
Proactive Monitoring: Monitor application logs for unexpected calls to TLS-related modules or anomalous outbound connection attempts that may indicate attempts to leverage intercepted traffic.
Compensating Controls: While a Web Application Firewall cannot directly patch this sandbox escape, strict egress filtering on the host can help limit the impact of an attacker attempting to establish unauthorized connections using spoofed certificates.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
This vulnerability is critical and requires immediate attention due to the potential for total system compromise. Organizations utilizing the vm2 library must prioritize the upgrade to version 3.11.7, as the current flaw allows for trivial manipulation of the host trust store. Failure to patch leaves the underlying host environment and all associated network communications vulnerable to sophisticated interception attacks.
More patriksimek CVEs all →
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section
Sources
Originally found and disclosed by Forrof, per the CVE Program record.
- GitHub Security Advisory (GHSA-98xx-8mx4-x7cm) Vendor advisory
- VulnCheck Advisory: vm2 3.11.3 before 3.11.7 TLS Trust Store Manipulation Third-party advisory