CVE-2026-92949
6.3
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| patriksimek | vm2 | 3.9.6 < 3.11.7 | affected |
| patriksimek | vm2 | 3.11.7 | unaffected |
Weaknesses
- CWE-471: Modification of Assumed-Immutable Data (MAID)
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-633r-hq9m-c4ff
- https://www.vulncheck.com/advisories/vm2-3.9.6-before-3.11.7-sandbox-bypass-via-accessor-descriptor
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.