Information Exposure Through an Error Message in vm2 - #VU129587
Published: May 4, 2026
vm2
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information about the host environment.
The vulnerability exists due to generation of error messages containing sensitive information in the CallSite wrapper class when processing stack traces from sandboxed code. A remote attacker can trigger an error or override Error.prepareStackTrace to disclose sensitive information about the host environment.
The issue exposes host absolute paths, source locations, and internal function names to sandboxed code.