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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-05T22:54:36.219Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- agentfront frontmcp: < 1.5.7

## References

- <https://github.com/agentfront/frontmcp/security/advisories/GHSA-mp29-fxh8-92px> (exploit)
- <https://github.com/agentfront/frontmcp/commit/209cddd19a8d4db0777f725b527818da7df6f67f>

## Sources

- CVE List: [CVE-2026-67531](https://www.cve.org/CVERecord?id=CVE-2026-67531), CVE Terms of Use, modified 2026-08-06
- NVD: [CVE-2026-67531](https://nvd.nist.gov/vuln/detail/CVE-2026-67531), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-67531 · Whole record: https://cve.day/CVE-2026-67531.json · Rebuilt by cve.day 2026-11-25T22:59:31.199Z
