CVE-2026-67531: FrontMCP: CodeCall sandbox escape -> host RCE via live Zod schema exposure by getTool

Published Aug 5, 2026
·
Updated

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, JWTSECRET, session keys, database credentials, and cloud instance metadata. Because the framework's DEFAULTAUTHOPTIONS 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.

Affected Software

1 affected component
FrontMCP FrontMCP<1.5.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FrontMCP to a version that resolves this vulnerability.

    Fixed in 1.5.7

Event History

Aug 5, 2026
CVE Published
via MITRE·10:54 PM
Data Sourced
via MITRE·10:54 PM
DescriptionWeakness
Aug 6, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-67531?

CVE-2026-67531 has a severity score of 95, indicating a critical risk level.

2

What does CVE-2026-67531 affect?

CVE-2026-67531 affects the FrontMCP framework prior to version 1.5.7.

3

How do I fix CVE-2026-67531?

To fix CVE-2026-67531, upgrade FrontMCP to version 1.5.7 or later.

4

What is the primary issue described in CVE-2026-67531?

CVE-2026-67531 describes a code injection vulnerability leading to host remote code execution via exposed Zod schema.

5

What is the potential impact of CVE-2026-67531?

The potential impact of CVE-2026-67531 includes unauthorized remote code execution on the host system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203