CVE Catalog

CVE-2026-92949

MediumCVSS 4.0
Published: Updated: Translated: NVD NIST

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.

Risk Assessment

An attacker can modify properties that should be immutable, potentially leading to data integrity violations and security bypasses in applications using vm2. The risk affects applications relying on vm.freeze() and vm.readonly() to protect host objects.

Recommendation

Upgrade vm2 to version 3.11.7 or later. Until patched, consider additional protection mechanisms for host objects exposed to the sandbox.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS