{
  "id": "CVE-2026-59973",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59973",
  "published_at": "2026-09-15T15:13:40.053Z",
  "title": "mcp-from-openapi: Bypass of OpenAPI external $ref SSRF fix in latest FrontMCP and mcp-from-openapi",
  "vendor": "agentfront",
  "product": "frontmcp",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "agentfront",
        "product": "frontmcp",
        "ranges": [
          "\u003c 1.5.0"
        ],
        "fixed_in": [
          "1.5.0"
        ]
      },
      {
        "vendor": "agentfront",
        "product": "mcp-from-openapi",
        "ranges": [
          "\u003c 2.5.0"
        ],
        "fixed_in": [
          "2.5.0"
        ]
      },
      {
        "vendor": "@frontmcp",
        "product": "adapters",
        "ranges": [
          "\u003c 1.5.0"
        ],
        "fixed_in": [
          "1.5.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade frontmcp to 1.5.0 or later.",
      "Upgrade mcp-from-openapi to 2.5.0 or later.",
      "Upgrade adapters to 1.5.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/agentfront/frontmcp/security/advisories/GHSA-65h7-9wrw-629c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/agentfront/frontmcp/pull/496"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/agentfront/mcp-from-openapi/pull/7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/agentfront/frontmcp/commit/96a78eaa5c6c4bc51cced557d83d1a03344cb03d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/agentfront/mcp-from-openapi/commit/be3409cce6e97642696d4ee5a4e4e2712490b277"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/agentfront/frontmcp/releases/tag/v1.5.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/agentfront/mcp-from-openapi/releases/tag/v2.5.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
