Vulnerability · Published Feb 6, 2026 · Assigned by GitHub_M
CVE-2026-25533Enclave has a sandbox escape via infinite recursion and error objects
Medium 6.4
In plain English
A medium-severity infinite loop in enclave from agentfront. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @enclave-vm/core | 2.10.1 | GHSA-x39w-8vm5-5m3p |
| npm | enclave-vm | no fix listed | GHSA-x39w-8vm5-5m3p |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| agentfront | enclave | < 2.10.1 |
Weakness: CWE-835 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H