Skip to content
OpenAdvisories
Medium · 4.0 CVE-2026-92949 EUVD-2026-81598GHSA-633r-hq9m-c4ffGHSA-9f3g-34x8-92jc

vm2 3.9.6 before 3.11.7 Sandbox Bypass via Accessor Descriptor

Published Sep 17, 2026 · Updated Sep 21, 2026 · Assigned by VulnCheck

Description

vm2 versions from 3.9.6 before 3.11.7 fail to properly restrict access to accessor properties on frozen objects, allowing sandboxed scripts to bypass vm.freeze() and vm.readonly() protections. Attackers can use Object.getOwnPropertyDescriptor() or __lookupSetter__() to extract and invoke host object setters directly, mutating properties the embedder explicitly marked read-only.

Affected products

VendorProductAffectedFixed
patriksimek vm2 3.9.6 – < 3.11.7 3.11.7

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 >= 3.9.6, < 3.11.7 3.11.7 GHSA-633r-hq9m-c4ff

Advisories 1

References