{"id":"CVE-2026-67531","published":"2026-08-05T22:54:36Z","modified":"2026-08-06T18:44:39Z","title":"FrontMCP: CodeCall sandbox escape -> host RCE via live Zod schema exposure by getTool","vendor":"agentfront","product":"frontmcp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00735,"percentile":0.50416,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/agentfront/frontmcp/security/advisories/GHSA-mp29-fxh8-92px","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/agentfront/frontmcp/commit/209cddd19a8d4db0777f725b527818da7df6f67f","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.08},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"agentfront","affectedVersions":[{"vendor":"agentfront","product":"frontmcp","versions":["< 1.5.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-06T18:38:14.596272Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-53684","exploited":false,"provenance":"source"}}