{"id":"CVE-2026-59973","published":"2026-09-15T15:13:40Z","modified":"2026-09-16T16:06:53Z","title":"mcp-from-openapi: Bypass of OpenAPI external $ref SSRF fix in latest FrontMCP and mcp-from-openapi","vendor":"agentfront","product":"frontmcp","tier":"tail","description":{"text":"FrontMCP is a TypeScript-first framework for the Model Context Protocol (MCP). From mcp-from-openapi 2.3.0 until 2.5.0 and from frontmcp and @frontmcp/adapters 1.2.1 until 1.5.0, libs/adapters/src/openapi/openapi.adapter.ts loadOpenAPISpec() forwards untrusted OpenAPI url and spec inputs and loadOptions.refResolution to OpenAPIToolGenerator.fromURL() and OpenAPIToolGenerator.fromJSON(). The external $ref guard checks parsed hostname strings without resolving addresses, pinning validated addresses, revalidating redirect targets, or normalizing IPv4-mapped IPv6. An authenticated user who can import or configure an OpenAPI specification in a hosted or multi-user deployment can use DNS-to-loopback resolution, redirect-to-loopback behavior, or IPv4-mapped IPv6 loopback forms to cause backend-origin requests to internal services. This can expose internal administrative APIs, metadata-like services, and other private network endpoints. The practical impact is lower when only a trusted local administrator can configure OpenAPI specs, and disabling external reference protocols prevents the external $ref request. This issue is fixed in mcp-from-openapi 2.5.0 and frontmcp and @frontmcp/adapters 1.5.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00393,"percentile":0.34335,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/agentfront/frontmcp/security/advisories/GHSA-65h7-9wrw-629c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/agentfront/frontmcp/pull/496","tags":["x_refsource_MISC"]},{"url":"https://github.com/agentfront/mcp-from-openapi/pull/7","tags":["x_refsource_MISC"]},{"url":"https://github.com/agentfront/frontmcp/commit/96a78eaa5c6c4bc51cced557d83d1a03344cb03d","tags":["x_refsource_MISC"]},{"url":"https://github.com/agentfront/mcp-from-openapi/commit/be3409cce6e97642696d4ee5a4e4e2712490b277","tags":["x_refsource_MISC"]},{"url":"https://github.com/agentfront/frontmcp/releases/tag/v1.5.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/agentfront/mcp-from-openapi/releases/tag/v2.5.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":6.87},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"agentfront","affectedVersions":[{"vendor":"agentfront","product":"frontmcp","versions":["< 1.5.0"]},{"vendor":"agentfront","product":"mcp-from-openapi","versions":["< 2.5.0"]},{"vendor":"@frontmcp","product":"adapters","versions":["< 1.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T16:06:47.172118Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mcp-from-openapi","vulnerableRanges":[">=2.3.0, <2.5.0"],"patched":["2.5.0"],"from":["GHSA-65h7-9wrw-629c"],"provenance":"source"},{"ecosystem":"npm","package":"@frontmcp/adapters","vulnerableRanges":[">=1.2.1, <1.5.0"],"patched":["1.5.0"],"from":["GHSA-65h7-9wrw-629c"],"provenance":"source"},{"ecosystem":"npm","package":"frontmcp","vulnerableRanges":[">=1.2.1, <1.5.0"],"patched":["1.5.0"],"from":["GHSA-65h7-9wrw-629c"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-78782","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-39885","published":"2026-04-08","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2026-39885","to":"CVE-2026-59973","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mcp-from-openapi","fromFixed":"2.3.0","toFixed":"2.5.0","daysApart":160},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-59973","published":"2026-09-15","fixed":"2.5.0","kev":false}],"package":"npm:mcp-from-openapi"}}