CVE-2026-25533 PUBLISHED

Enclave has a sandbox escape via infinite recursion and error objects

Assigner: GitHub_M
Reserved: 02.02.2026 Published: 06.02.2026 Updated: 06.02.2026

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.

Metrics

CVSS 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
CVSS Score: 6.4

Product Status

Vendor agentfront
Product enclave
Versions
  • Version < 2.10.1 is affected

References

Problem Types

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') CWE