p PatchFirst

PatchFirst · Latest vulnerabilities

enclave-vm vulnerabilities

Vulnerabilities published for enclave-vm in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-25533

    Medium · CVSS 6.4EPSS 0.26%No fix published

    Enclave has a sandbox escape via infinite recursion and error objects

    Enclave is a secure JavaScript sandbox designed for safe AI agent code execution. Prior to 2.10.1, the existing layers of security in enclave-vm are insufficient: The AST sanitization can be bypassed with dynamic property accesses, the hardening of the error objects does not cover the peculiar behavior or the vm module and the function constructor access prevention can be side-stepped by leveraging host object references. This vulnerability is fixed in 2.10.1.

    Published Updated
  2. CVE-2026-22686

    Critical · CVSS 10EPSS 0.75%Fix available

    Sandbox Escape via Host Error Prototype Chain in enclave-vm

    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

    • Update to 2.7.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →