p PatchFirst

CVE-2026-59973

CVE-2026-59973 · mcp-from-openapi: Bypass of OpenAPI external $ref SSRF fix in latest FrontMCP and mcp-from-openapi

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.5 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • frontmcp

    Versions
    • < 1.5.0: Affected

    No fix published

  • mcp-from-openapi

    Versions
    • < 2.5.0: Affected

    No fix published

  • adapters

    Versions
    • < 1.5.0: Affected

    No fix published

  • mcp-from-openapi npm

    Affected ranges
    • SEMVER: ≥ 2.3.0, < 2.5.0

    Update to 2.5.0

  • @frontmcp/adapters npm

    Affected ranges
    • SEMVER: ≥ 1.2.1, < 1.5.0

    Update to 1.5.0

  • frontmcp npm

    Affected ranges
    • SEMVER: ≥ 1.2.1, < 1.5.0

    Update to 1.5.0

Original sources

Check your server →