CVE-2026-39885

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

Published Apr 8, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v6ph-xcq9-qxxj mcp-from-openapi is Vulnerable to SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications
History
Type Values Removed Values Added
First Time appeared Agentfront \@frontmcp\/adapters
Agentfront \@frontmcp\/sdk
CPEs cpe:2.3:a:agentfront:\@frontmcp\/adapters:*:*:*:*:*:node.js:*:*
cpe:2.3:a:agentfront:\@frontmcp\/sdk:*:*:*:*:*:node.js:*:*
cpe:2.3:a:agentfront:frontmcp:*:*:*:*:*:node.js:*:*
cpe:2.3:a:frontmcp:mcp-from-openapi:*:*:*:*:*:node.js:*:*
Vendors & Products Agentfront \@frontmcp\/adapters
Agentfront \@frontmcp\/sdk
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Agentfront
Agentfront frontmcp
Frontmcp
Frontmcp mcp-from-openapi
Vendors & Products Agentfront
Agentfront frontmcp
Frontmcp
Frontmcp mcp-from-openapi
Type Values Removed Values Added
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.
Title FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 9, 2026, 4:16 PM
Reserved
Apr 7, 2026, 8:32 PM
Status
Analyzed
Published
Apr 8, 2026, 9:17 PM
Modified
Jul 24, 2026, 9:10 PM