Sandbox Escape via Host Error Prototype Chain in enclave-vm
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| agentfront | enclave | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Agentfront | Enclave | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-7qm7-455j-5p63 | enclave-vm Vulnerable to Sandbox Escape via Host Error Prototype Chain |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.760% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:agentfront:enclave:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Agentfront
Agentfront enclave |
|
| Vendors & Products |
Agentfront
Agentfront enclave |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Sandbox Escape via Host Error Prototype Chain in enclave-vm | |
| Weaknesses | CWE-693 CWE-94 |
|
| References |
| |
| Metrics |
cvssV3_1
|