| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-67531 |
| Date (index) | 2026-08-06 |
| Affected product (index) | FrontMCP is a TypeScript-first framework for the Model Context Protocol (MCP) |
| GHSA ID | GHSA-MP29-FXH8-92PX |
| OWASP MCP Top 10 (2025) | MCP01 — Token Mismanagement & Secret Exposure |
| Published / disclosed | 2026-08-06 |
| Ecosystem | Application / upstream project |
| Component | FrontMCP is a TypeScript-first framework for the Model Context Protocol (MCP) |
| EPSS score | 0.007350000 (FIRST EPSS, 2026-09-26) |
| CVSS score | CRITICAL — 9.3 CVSS v4.0 |
| CWE | CWE-94 |
| Affected versions | v1.5.6, v1.5.5, v1.5.4, v1.5.3, v1.5.2, v1.5.1, v1.5.0, v1.5.0-rc.1, v0.8.1, v0.8.0, v0.7.2, v0.7.1, v0.6.3, v0.6.2, v0.6.1, v0.6.0, v0.5.1, v0.5.0, v0.4.0, v0.3.1, v0.3.0, v0.2.5 |
| Fixed versions | 1.5.7 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added as a separate CVE note during the 2026-08-25 missing-CVE follow-up. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, gateway, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.
Primary mapped weakness: MCP01 — Token Mismanagement & Secret Exposure. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, prompt/tool trust, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-67531 and apply the upstream patched release or commit recommended by the vendor/CNA.