Skip to content
OpenAdvisories
Medium · 6.4 CVE-2026-25533 EUVD-2026-5565GHSA-x39w-8vm5-5m3p

Enclave has a sandbox escape via infinite recursion and error objects

Published Feb 6, 2026 · Updated Feb 9, 2026 · Assigned by GitHub_M

Description

Enclave is a secure JavaScript sandbox designed for safe AI agent code execution. Prior to 2.10.1, the existing layers of security in enclave-vm are insufficient: The AST sanitization can be bypassed with dynamic property accesses, the hardening of the error objects does not cover the peculiar behavior or the vm module and the function constructor access prevention can be side-stepped by leveraging host object references. This vulnerability is fixed in 2.10.1.

Affected products

VendorProductAffectedFixed
agentfront enclave < 2.10.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @enclave-vm/core < 2.10.1 2.10.1 GHSA-x39w-8vm5-5m3p
npm enclave-vm <= 2.7.0 — GHSA-x39w-8vm5-5m3p

References