Skip to content
CriticalVulnerability

CVE-2026-22686: Enclave VM sandbox escape via host Error object prototype chain

Identifier
CVE-2026-22686
Published
Record updated
View JSON
Affected
  • enclave-vm < 2.7.0
Fixed in
2.7.0
  • released January 8, 2026, 5 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

CVE-2026-22686 affects enclave-vm, the sandbox component of Enclave, in versions prior to 2.7.0. When a tool invocation fails, enclave-vm passes a host-side Error object into sandboxed code, and that object keeps its host realm prototype chain. Untrusted code can walk that chain to the host Function constructor and run arbitrary JavaScript in the host Node.js runtime, reaching process.env, the filesystem and the network.

Mitigation

Fixed in 2.7.0.