Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-67531

FrontMCP: CodeCall sandbox escape -> host RCE via live Zod schema exposure by getTool
Back to all
CVE

CVE-2026-67531

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

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 DEFAULTAUTH_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.3
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67531.json, https://github.com/agentfront/frontmcp/security/advisories/GHSA-mp29-fxh8-92px, https://nvd.nist.gov/vuln/detail/CVE-2026-67531, https://github.com/agentfront/frontmcp/commit/209cddd19a8d4db0777f725b527818da7df6f67f

Severity

0

CVSS Score
0
10

Basic Information

Base CVSS
0
EPSS Probability
0.00434%
EPSS Percentile
0.36079%
Introduced Version
0
Fix Available
209cddd19a8d4db0777f725b527818da7df6f67f

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading