45

CVE-2026-22686

CRITICAL
CVSS 10.0
EPSS: 0.1%
Published: 14/01/2026
Modified: 24/02/2026
Exploit Prediction Score (EPSS)0.15% probability of exploitation (35th percentile)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Vendor: agentfront
Product: enclave

Description

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 intentionally trigger a host error, then climb the prototype chain. Using the host Function constructor, arbitrary JavaScript can be compiled and executed in the host context, fully bypassing the sandbox and granting access to sensitive resources such as process.env, filesystem, and network. This breaks enclave-vm’s core security guarantee of isolating untrusted code. This vulnerability is fixed in 2.7.0.

AI Threat Analysis
Pro+

Sign in to access AI-powered vulnerability analysis

AI Remediation Playbook
Pro+

Get step-by-step remediation playbooks with specific commands, verification steps, and rollback procedures.

Upgrade to Pro+

AI Attack Path AnalysisPro+

Visualize potential attack chains and lateral movement paths with AI-powered analysis.

AI Risk ForecastingPro+

Predict exploitation likelihood with AI-powered threat intelligence forecasting.

AI Compliance MappingPro+

Map vulnerabilities to compliance frameworks with AI-assisted gap analysis.

Stay Protected with ThreatMonitor

Get instant alerts when new vulnerabilities affect your systems. Track CVE-2026-22686 and other agentfront CVEs with our free account.

Smart Alerts
Bookmark & Track
AI Analysis (Pro+)

Weakness Types (CWE)

Affected Products (1)

cpe:2.3:a:agentfront:enclave:*:*:*:*:*:node.js:*:*