CVE Explorer
CVE-2026-22686
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. An attacker can inten
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"enclave","vendor":"agentfront","versions":[{"status":"affected","version":"< 2.7.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/agentfront/enclave/commit/ed8bc438b2cd6e6f0b5f2de321e5be6f0169b5a1","tags":["x_refsource_MISC"],"url":"https://github.com/agentfront/enclave/commit/ed8bc438b2cd6e6f0b5f2de321e5be6f0169b5a1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/references/1
{"name":"https://github.com/agentfront/enclave/security/advisories/GHSA-7qm7-455j-5p63","tags":["x_refsource_CONFIRM"],"url":"https://github.com/agentfront/enclave/security/advisories/GHSA-7qm7-455j-5p63"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:232c77925b16f1ac92cd05370bc31d6a36cf0f636c5f5bb65cf6db845ded1ef1 · sha256:a24b875a117ab8d3… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.