CVE-2026-67531
Beschrijving NL
FrontMCP is een TypeScript-first framework voor het Model Context Protocol (MCP). Voorafgaand aan 1.5.7 stelt de sandboxed codecall: execute-tool live host Zod-schema-instanties bloot aan het script via getTool (), en omdat Zod v4_zod definieert als een niet-configureerbare, niet-schrijfbare eigen eigenschap, dwingen de ECMAScript-proxy-invarianten het beveiligingsmembraan om het ruwe hostobject terug te geven, waardoor een script _zod.constr.constructor (de host-functieconstructor) bereikt en willekeurige code in het serverproces uitvoert. Een enkele tool/aanroep is voldoende om uit de sandbox te ontsnappen en externe code-uitvoering te bereiken als de servergebruiker, waarbij alles wat het proces bevat, zoals OAuth-clientgeheimen, JWT_SECRET, sessiesleutels, database-inloggegevens en cloudinstantie-metagegevens, wordt blootgelegd. Omdat de DEFAULT_AUTH_OPTIONS van het raamwerk de openbare modus is, dient een niet-geconfigureerde server dit aan niet-geverifieerde bellers, en op geverifieerde servers kan een indirecte prompt-injectie in de uitvoer van de tool of opgehaalde inhoud deze activeren zonder een menselijke aanvaller. Dit probleem is opgelost in versie 1.5.7.
Origineel (Engels) tonen
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.