Skip to content

CVE-2026-39885 FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications

HighCVSS 7.5 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

9 packages: 7 fixed.

PackageAffectedFixed inStatus
@frontmcp adapters(npm) < 1.0.4; <= 1.0.3 1.0.4 Fixed
@frontmcp mcp-from-openapi < 2.3.0; = < 2.3.0 2.3.0 Fixed
@frontmcp sdk(npm) < 1.0.4; <= 1.0.3 1.0.4 Fixed
agentfront frontmcp < 1.0.4; = < 1.0.4 1.0.4 Fixed
agentfront frontmcpadapters < 1.0.4 1.0.4 Fixed
agentfront frontmcpsdk < 1.0.4 1.0.4 Fixed
npm mcp-from-openapi(npm) < 2.3.0; <= 2.1.2 2.3.0 Fixed
@frontmcp adapters = < 1.0.4 No fix listed Versions listed
@frontmcp sdk = < 1.0.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
agentfront frontmcp = < 1.0.4 No fix listed
@frontmcp adapters = < 1.0.4 No fix listed
@frontmcp sdk = < 1.0.4 No fix listed
@frontmcp mcp-from-openapi = < 2.3.0 No fix listed
npm mcp-from-openapi(npm) <= 2.1.2 No fix listed
@frontmcp sdk(npm) <= 1.0.3 No fix listed
@frontmcp adapters(npm) <= 1.0.3 No fix listed
agentfront frontmcpadapters < 1.0.4 1.0.4
agentfront frontmcpsdk < 1.0.4 1.0.4
agentfront frontmcp < 1.0.4 1.0.4
@frontmcp mcp-from-openapi < 2.3.0 2.3.0
npm mcp-from-openapi(npm) < 2.3.0 2.3.0
@frontmcp sdk(npm) < 1.0.4 1.0.4
@frontmcp adapters(npm) < 1.0.4 1.0.4

References