CVE-2026-67531

Source
https://cve.org/CVERecord?id=CVE-2026-67531
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67531.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-67531
Aliases
  • GHSA-mp29-fxh8-92px
Published
2026-08-05T22:54:36.219Z
Modified
2026-08-08T03:30:46.636108311Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
FrontMCP: CodeCall sandbox escape -> host RCE via live Zod schema exposure by getTool
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-94"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67531.json"
}
References

Affected packages

Git / github.com/agentfront/frontmcp

Affected ranges

Type
GIT
Repo
https://github.com/agentfront/frontmcp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.5.7"
        }
    ]
}

Affected versions

v0.*
v0.2.5
v0.3.0
v0.3.1
v0.4.0
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.7.1
v0.7.2
v0.8.0
v0.8.1
v1.*
v1.5.0
v1.5.0-rc.1
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5
v1.5.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67531.json"