Code executionin agentfront enclave.
Proof of concept public (GitHub).
Enclave is a secure JavaScript sandbox designed for safe AI agent code execution. Prior to 2.7.0, there is a critical sandbox escape vulnerability in enclave-vm that allows untrusted, sandboxed JavaScript code to execute arbitrary code in the host Node.js runtime. When a tool invocation fails, enclave-vm exposes a host-side Error object to sandboxed code. This Error object retains its host realm prototype chain, which can be traversed to reach the host Function constructor.
- Upgrade enclave to 2.7.0 or later.
- Upgrade enclave-vm (npm) to 2.7.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Jan 2026CVE ID reserved by GitHub_M.
- 13 Jan 2026Published in the CVE List.
- 14 Jan 2026CVE record last updated.
- 15 Jan 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other enclave vulnerabilities
Same weakness: Protection mechanism failure
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2026-22686: Code execution in agentfront enclave. https://patchminder.com/cve/cve-2026-22686/ (accessed 5 December 2026).