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.
Metrics
CVSS 3.1 4.0/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Sep 17, 2026
- Last modified
- Sep 21, 2026
- NVD status
- Deferred