Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Frontegg-David

Researcher fromFrontegg
#26935of 60,594
10Total CVSS
Vulnerabilities · 1
PT-2026-2792
2026-01-13
10
CVE-2026-22686
Enclave
Enclave
Enclave is a secure JavaScript sandbox used for safe AI agent code execution. A critical sandbox escape issue exists in enclave-vm, allowing untrusted JavaScript code to execute arbitrary code in the host Node.js runtime. This occurs because when a tool invocation fails, enclave-vm exposes a host-side Error object to sandboxed code. This Error object maintains its host realm prototype chain, which can be used to access the host Function constructor. An attacker can trigger a host error and then traverse the prototype chain to utilize the host Function constructor, enabling the compilation and execution of arbitrary JavaScript in the host context. This bypasses the sandbox, granting access to sensitive resources like process.env, the filesystem, and the network. The issue breaks the core security guarantee of isolating untrusted code.