Enclave has a sandbox escape via infinite recursion and error objects
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-835.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| agentfront | enclave | before 2.10.1 | 2.10.1 | Patch available | CNA |
| — | enclave-vm (npm) | up to 2.7.0 | — | No fix listed | GHSA-x39w-8vm5-5m3p |
| — | @enclave-vm/core (npm) | before 2.10.1 | 2.10.1 | Patch available | GHSA-x39w-8vm5-5m3p |
- enclave Vendoragentfront Affected before 2.10.1 Fixed in 2.10.1 Patch available CNA
- enclave-vm (npm) Vendor— Affected up to 2.7.0 Fixed in — No fix listed GHSA-x39w-8vm5-5m3p
- @enclave-vm/core (npm) Vendor— Affected before 2.10.1 Fixed in 2.10.1 Patch available GHSA-x39w-8vm5-5m3p
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:agentfront:enclave:*:*:*:*:*:*:*:* | 2.7.0 to before 2.10.1 | Vulnerable | agentfront |
- cpe:2.3:a:agentfront:enclave:*:*:*:*:*:*:*:* Versions 2.7.0 to before 2.10.1 Vulnerable ·agentfront
Remediation
- Fix · CNA enclave (agentfront) Fixed in 2.10.1
- Fix · GHSA-x39w-8vm5-5m3p @enclave-vm/core (npm) Fixed in 2.10.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25533
- 2026-10-03 Alias added: GHSA-x39w-8vm5-5m3p
References
More agentfront Enclave vulnerabilities
- TI-2026-21983 @enclave-vm/core is vulnerable to Sandbox Escape CVSS 3.1CRITICAL 10.0
- TI-2026-18213 Sandbox Escape via Host Error Prototype Chain in enclave-vm CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-25533 · CVE Program
- CVE-2026-25533 · NVD
- FIRST EPSS
- GHSA-x39w-8vm5-5m3p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences