Skip to content

CVE-2026-25533 Enclave has a sandbox escape via infinite recursion and error objects

MediumCVSS 6.4 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
agentfront enclave = < 2.10.1; >= 2.7.0, < 2.10.1 2.10.1 Fixed
enclave-vm @enclave-vm/core(npm) < 2.10.1 2.10.1 Fixed
npm enclave-vm(npm) <= 2.7.0 after 2.7.0 Fixed

Affected products

ProductAffected versionsFixed in
agentfront enclave = < 2.10.1 No fix listed
npm enclave-vm(npm) <= 2.7.0 No fix listed
enclave-vm @enclave-vm/core(npm) < 2.10.1 2.10.1
agentfront enclave >= 2.7.0, < 2.10.1 2.10.1

References