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

- Severity: Medium 6.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-05T17:49:35.000Z
- Modified: 2026-06-17T10:24:48.443Z
- Also known as: GHSA-x39w-8vm5-5m3p
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- agentfront enclave: < 2.10.1; from 2.7.0 before 2.10.1
- enclave-vm (npm): up to 2.7.0
- @enclave-vm/core (npm): before 2.10.1

## Every score

- GitHub_M: CVSS:4.0 6.4 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/agentfront/enclave/security/advisories/GHSA-x39w-8vm5-5m3p> (exploit, vendor-advisory, web)
- <https://github.com/agentfront/enclave/commit/2fcf5da81e7e2578ede6f94cae4f379165426dca> (patch, web)
- <https://www.staicu.org/publications/usenixSec2023-SandDriller.pdf> (technical-description, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25533> (advisory)
- <https://github.com/agentfront/enclave> (package)

## Sources

- CVE List: [CVE-2026-25533](https://www.cve.org/CVERecord?id=CVE-2026-25533), CVE Terms of Use, modified 2026-02-09
- GitHub Advisory Database: [GHSA-x39w-8vm5-5m3p](https://github.com/advisories/GHSA-x39w-8vm5-5m3p), CC-BY-4.0, modified 2026-02-07
- NVD: [CVE-2026-25533](https://nvd.nist.gov/vuln/detail/CVE-2026-25533), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25533 · Whole record: https://cve.day/CVE-2026-25533.json · Rebuilt by cve.day 2026-11-25T22:59:13.583Z
