FrontMCP: CodeCall sandbox escape -> host RCE via live Zod schema exposure by getTool
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
FrontMCP is a TypeScript-first framework for the Model Context Protocol (MCP). Prior to 1.5.7, the sandboxed codecall:execute tool exposes live host Zod schema instances to the script via getTool(), and because Zod v4 defines _zod as a non-configurable, non-writable own property, the ECMAScript Proxy invariants force the security membrane to hand back the raw host object, letting a script reach _zod.constr.constructor (the host Function constructor) and execute arbitrary code in the server process. A single tools/call is sufficient to escape the sandbox and achieve remote code execution as the server user, exposing everything the process holds such as OAuth client secrets, JWT_SECRET, session keys, database credentials, and cloud instance metadata. Because the framework's DEFAULT_AUTH_OPTIONS is public mode, an unconfigured server serves this to unauthenticated callers, and on authenticated servers an indirect prompt injection in tool output or fetched content can trigger it without a human attackerThis issue is fixed in version 1.5.7.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| agentfront | frontmcp | before 1.5.7 | 1.5.7 | Patch available | CNA |
- frontmcp Vendoragentfront Affected before 1.5.7 Fixed in 1.5.7 Patch available CNA
Remediation
- Fix · CNA frontmcp (agentfront) Fixed in 1.5.7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-67531
References
More agentfront vulnerabilities
- TI-2026-21983 @enclave-vm/core is vulnerable to Sandbox Escape CVSS 3.1CRITICAL 10.0
- TI-2026-18213 Sandbox Escape via Host Error Prototype Chain in enclave-vm CVSS 3.1CRITICAL 10.0
- TI-2026-28764 FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications CVSS 3.1HIGH 7.5
- TI-2026-42765 mcp-from-openapi: Bypass of OpenAPI external $ref SSRF fix in latest FrontMCP and mcp-from-openapi CVSS 3.1HIGH 8.5
- TI-2026-79752 Incomplete denylist in Agentfront mcp-from-openapi allows SSRF via trailing dot CVSS 4.0MEDIUM 6.3
- TI-2026-79751 Credential leak via cross-origin redirects in mcp-from-openapi CVSS 4.0MEDIUM 6.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences