Protection Mechanism Failure in vm2 - #VU131737
Published: May 18, 2026
vm2
Detailed vulnerability description
The vulnerability allows a remote attacker to inject properties into host objects via the prototype chain.
The vulnerability exists due to improper access control in the BaseHandler.set trap in bridge.js when handling inherited property assignments on proxy-backed objects. A remote attacker can create a prototype-inheriting child object and assign crafted properties to inject properties into host objects via the prototype chain.
Dangerous Symbol-keyed properties can be written to host objects, which can lead to semantic confusion across realms.