Sandbox Escape Vulnerability in Enclave's Secure JavaScript Environment
CVE-2026-22686
Key Information:
- Vendor
Agentfront
- Status
- Vendor
- CVE Published:
- 13 January 2026
Badges
What is CVE-2026-22686?
Enclave, a secure JavaScript sandbox, suffered from a critical vulnerability that enabled untrusted JavaScript code to escape the defined sandbox environment. This flaw arose from the mishandling of the host-side Error object, which allowed attackers to traverse the prototype chain to access the host Function constructor. By intentionally triggering this host error, malicious actors could execute arbitrary JavaScript code in the Node.js runtime, thus bypassing key security measures. This breach posed a significant risk by permitting access to sensitive resources, including environment variables, file systems, and networking capabilities, ultimately undermining the integrity of Enclave's secure execution model. The issue has been rectified in version 2.7.0.
Affected Version(s)
enclave < 2.7.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
