{"id":"CVE-2026-47209","published":"2026-06-12T14:14:06Z","modified":"2026-06-12T15:03:57Z","title":"vm2: Bridge Proxy set trap ignores receiver parameter, enabling host object property injection via prototype chain","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, the BaseHandler.set trap in bridge.js (line 1231) ignores the receiver parameter and unconditionally writes to the host target object. Per the Proxy set trap specification, when receiver !== proxy (e.g., when a child object inherits from the proxy via Object.create), the property assignment should create an own property on the receiver, not on the proxy target. The current implementation always calls otherReflectSet(object, key, value) against the host target, causing all inherited property writes to leak through to the host object. This bug provides an alternative attack vector for writing dangerous cross-realm Symbol keys (e.g., nodejs.util.promisify.custom) to host objects, bypassing any future per-trap isDangerousCrossRealmSymbol guard on the direct set path. This issue has been patched in version 3.11.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00287,"percentile":0.21776,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-c4cf-2hgv-2qv6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/commit/26d0318b5e6555be4b187ba05d6cf378ccecfe22","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/v3.11.4","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":4.36},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-12T15:00:52.593086Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.4"],"patched":["3.11.4"],"from":["GHSA-c4cf-2hgv-2qv6"],"provenance":"source"}],"summary":{"text":"The flaw is in the BaseHandler.set trap in bridge.js of the vm2 sandbox for Node.js, which ignores the receiver parameter and writes inherited property assignments to the host target object instead of creating them on the receiver.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:22Z"},"euvd":{"id":"EUVD-2026-36440","exploited":false,"provenance":"source"}}