CVE-2026-39885

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

State
Published
Severity
7.5 High
Published
Apr 8, 2026
Updated
Apr 9, 2026
Reserved
Apr 7, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
frontmcpagentfront
  • < 1.0.4Affected
adapters@frontmcp
  • < 1.0.4Affected
sdk@frontmcp
  • < 1.0.4Affected
mcp-from-openapifrontmcp
  • < 2.3.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.