Description
Enclave is a secure JavaScript sandbox designed for safe AI agent code execution. Prior to version 2.11.1, it is possible to escape the security boundraries set by `@enclave-vm/core`, which can be used to achieve remote code execution (RCE). The issue has been fixed in version 2.11.1.
Published: 2026-02-25
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Enclave provides a secure JavaScript sandbox for AI agent code. Before version 2.11.1, a flaw in @enclave-vm/core allows an attacker to escape the security boundaries of the sandbox. This escape can be leveraged to execute arbitrary code in the host environment, leading to full compromise of confidentiality, integrity, and availability. The weakness stems from improper code evaluation, classified as CWE‑94.

Affected Systems

The vulnerability affects the Enclave product supplied by agentfront, specifically any instance running a version earlier than 2.11.1 that relies on @enclave-vm/core. Enclave runs on Node.js, and the affected package is listed under agentfront:enclave.

Risk and Exploitability

The flaw carries a CVSS score of 10, indicating Exponentially Critical severity. The EPSS score is less than 1%, suggesting a very low current exploitation probability, and it is not listed in the CISA KEV catalog. Nonetheless, the risk is high due to the capability for remote code execution that could be achieved by submitting crafted code to the sandbox, implying a likely remote or network-based attack path with no user interaction required.

Generated by OpenCVE AI on April 18, 2026 at 10:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Enclave version 2.11.1 or later, which contains the patch for @enclave-vm/core.
  • If an immediate upgrade is not possible, isolate or remove the vulnerable Enclave instances from exposure to untrusted input and restrict network access for any AI code submissions.
  • Monitor system logs and audit events for unexpected JavaScript execution or potential sandbox escape attempts, and apply additional runtime restrictions such as disabling eval or tightly limiting file system access.

Generated by OpenCVE AI on April 18, 2026 at 10:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-f229-3862-4942 @enclave-vm/core is vulnerable to Sandbox Escape
History

Fri, 27 Feb 2026 18:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:agentfront:enclave:*:*:*:*:*:node.js:*:*

Wed, 25 Feb 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 25 Feb 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Agentfront
Agentfront enclave
Vendors & Products Agentfront
Agentfront enclave

Wed, 25 Feb 2026 04:15:00 +0000

Type Values Removed Values Added
Description Enclave is a secure JavaScript sandbox designed for safe AI agent code execution. Prior to version 2.11.1, it is possible to escape the security boundraries set by `@enclave-vm/core`, which can be used to achieve remote code execution (RCE). The issue has been fixed in version 2.11.1.
Title @enclave-vm/core is vulnerable to Sandbox Escape
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Agentfront Enclave
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-25T21:13:32.747Z

Reserved: 2026-02-20T19:43:14.601Z

Link: CVE-2026-27597

cve-icon Vulnrichment

Updated: 2026-02-25T21:13:26.446Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-25T04:16:03.557

Modified: 2026-06-17T10:27:21.953

Link: CVE-2026-27597

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T11:00:05Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')