Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27597: CWE-94: Improper Control of Generation of Code ('Code Injection') in agentfront enclave

0
Critical
VulnerabilityCVE-2026-27597cvecve-2026-27597cwe-94
Published: Wed Feb 25 2026 (02/25/2026, 03:56:25 UTC)
Source: CVE Database V5
Vendor/Project: agentfront
Product: enclave

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/04/2026, 20:35:19 UTC

Technical Analysis

CVE-2026-27597 is a critical vulnerability identified in the agentfront enclave product, a secure JavaScript sandbox designed specifically for safe execution of AI agent code. The vulnerability stems from improper control of code generation (CWE-94), allowing attackers to escape the sandbox's security boundaries implemented by the @enclave-vm/core module. This escape enables remote code execution (RCE) without requiring authentication or user interaction, making exploitation straightforward over the network. The flaw affects all enclave versions prior to 2.11.1, where the sandbox fails to adequately restrict or validate dynamically generated code, permitting malicious payloads to execute arbitrary commands on the host system. The vulnerability has a CVSS 3.1 base score of 10.0, reflecting its critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and complete impact on confidentiality, integrity, and availability. While no public exploits have been observed in the wild, the potential for devastating impact is high given the nature of the sandbox and its use in AI environments. The vendor has addressed the issue in version 2.11.1 by strengthening boundary controls and code validation mechanisms to prevent sandbox escapes and arbitrary code execution.

Potential Impact

The impact of CVE-2026-27597 is severe for organizations worldwide using the vulnerable enclave versions. Successful exploitation results in full remote code execution, allowing attackers to take complete control over affected systems. This compromises confidentiality by exposing sensitive data, integrity by enabling unauthorized code and data manipulation, and availability by potentially disrupting or disabling services. Given enclave's role in executing AI agent code securely, exploitation could lead to manipulation or sabotage of AI workflows, data poisoning, or lateral movement within networks. The vulnerability's ease of exploitation and network accessibility increase the risk of widespread attacks, including ransomware deployment, espionage, or destruction of critical infrastructure. Organizations relying on enclave for AI or web applications face significant operational and reputational risks if unpatched. The absence of authentication or user interaction requirements further exacerbates the threat, allowing automated exploitation at scale.

Mitigation Recommendations

To mitigate CVE-2026-27597, organizations should immediately upgrade all instances of agentfront enclave to version 2.11.1 or later, where the vulnerability is patched. Until upgrades are complete, restrict network access to enclave services using firewalls or network segmentation to limit exposure to untrusted networks. Employ strict input validation and monitoring around AI agent code execution environments to detect anomalous behavior indicative of sandbox escape attempts. Implement runtime application self-protection (RASP) or endpoint detection and response (EDR) solutions to identify and block suspicious code execution patterns. Regularly audit and review enclave configurations and logs for signs of compromise. Additionally, maintain an incident response plan tailored to remote code execution scenarios in AI environments. Coordinate with vendor support for any additional security advisories or patches. Avoid running enclave with elevated privileges or unnecessary permissions to reduce potential impact.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-20T19:43:14.601Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699e7673b7ef31ef0bd379a3

Added to database: 2/25/2026, 4:11:31 AM

Last enriched: 3/4/2026, 8:35:19 PM

Last updated: 4/12/2026, 2:06:02 PM

Views: 907

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses