CVE-2026-25533
MEDIUM 6.4CVSS 4.0Sandbox escape via infinite recursion and error objects
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.
- Published
- 6 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-835
- Also known as
- GHSA-x39w-8vm5-5m3p
- Sources
- NVDJSONOSV GHSA-x39w-8vm5-5m3pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | agentfront | enclavecpe:2.3:a:agentfront:enclave:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.10.1 | 2.10.1 |
| OSV | npm | enclave-vm | <= 2.7.0 | |
| OSV | npm | @enclave-vm/core | < 2.10.1 | 2.10.1 |
References
- https://github.com/agentfront/enclave/commit/2fcf5da81e7e2578ede6f94cae4f379165426dca · Patch, WEB
- https://github.com/agentfront/enclave/security/advisories/GHSA-x39w-8vm5-5m3p · Exploit, Vendor Advisory, 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Feb 2026)