Skip to main content
← All vulnerabilities
CVE-2026-39885GHSA-V6PH-XCQ9-QXXJ

FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.4, 2.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

FrontMCP is a TypeScript-first framework for the Model Context Protocol (MCP). Prior to 2.3.0, the mcp-from-openapi library uses @apidevtools/json-schema-ref-parser to dereference $ref pointers in OpenAPI specifications without configuring any URL restrictions or custom resolvers. A malicious OpenAPI specification containing $ref values pointing to internal network addresses, cloud metadata endpoints, or local files will cause the library to fetch those resources during the initialize() call. This enables Server-Side Request Forgery (SSRF) and local file read attacks when processing untrusted OpenAPI specifications. This vulnerability is fixed in 2.3.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • agentfront frontmcp

    fixed in 1.0.4

  • @frontmcp adapters

    fixed in 1.0.4

  • @frontmcp sdk

    fixed in 1.0.4

  • frontmcp mcp-from-openapi

    fixed in 2.3.0

  • mcp-from-openapinpm

    fixed in 2.3.0

  • @frontmcp/sdknpm

    fixed in 1.0.4

  • @frontmcp/adaptersnpm

    fixed in 1.0.4

References 2

GitHub · agentfront/frontmcp