{"id":"CVE-2026-67531","aliases":["CVE-2026-67531"],"related":[],"kind":"vulnerability","state":"published","title":"FrontMCP: CodeCall sandbox escape -> host RCE via live Zod schema exposure by getTool","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"FrontMCP es un framework TypeScript-first para el Protocolo de Contexto de Modelo (MCP). Antes de la versión 1.5.7, la herramienta sandboxed codecall:execute expone instancias de esquema Zod de host en vivo al script a través de getTool(), y debido a que Zod v4 define _zod como una propiedad propia no configurable y no escribible, los invariantes del Proxy de ECMAScript fuerzan a la membrana de seguridad a devolver el objeto host sin procesar, permitiendo que un script alcance _zod.constr.constructor (el constructor de la Función del host) y ejecute código arbitrario en el proceso del servidor. Una sola llamada a tools/call es suficiente para escapar del sandbox y lograr la ejecución remota de código como el usuario del servidor, exponiendo todo lo que el proceso contiene, como secretos de cliente de OAuth, JWT_SECRET, claves de sesión, credenciales de base de datos y metadatos de instancia en la nube. Debido a que DEFAULT_AUTH_OPTIONS del framework está en modo público, un servidor no configurado sirve esto a los llamantes no autenticados, y en servidores autenticados una inyección de prompt indirecta en la salida de la herramienta o en el contenido recuperado puede activarlo sin un atacante humano. Este problema está solucionado en la versión 1.5.7.","source":"nvd"}],"published":"2026-08-05T22:54:36.219Z","modified":"2026-10-24T16:10:00.153Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":9.3,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 1.5.7","status":"affected"}],"vendor":"agentfront","product":"frontmcp","source":"cvelist"}],"references":[{"url":"https://github.com/agentfront/frontmcp/security/advisories/GHSA-mp29-fxh8-92px","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/agentfront/frontmcp/commit/209cddd19a8d4db0777f725b527818da7df6f67f","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-08-06T18:38:14.596Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-67531","url":"https://www.cve.org/CVERecord?id=CVE-2026-67531","licence":"CVE Terms of Use","modified":"2026-08-06T18:44:39.455Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-67531","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67531","licence":"Public domain","modified":"2026-10-24T16:10:00.153Z"}],"updatedAt":"2026-11-25T22:59:31.199Z","epss":{"score":0.00573,"percentile":0.48697,"date":"2026-12-01T12:00:22.000Z"}}