FrontMCP
FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.0.4
Fixed in 1.0.4
- < 1.0.4
Fixed in 1.0.4
- < 1.0.4
Fixed in 1.0.4
- < 2.3.0
Fixed in 2.3.0
Mitigation
Upgrade frontmcp to 1.0.4 or later.
Upgrade adapters to 1.0.4 or later.
Upgrade sdk to 1.0.4 or later.
Upgrade mcp-from-openapi to 2.3.0 or later.
References
- Vendor advisory github.com/agentfront/frontmcp/security/adviso…
- Release notes github.com/agentfront/frontmcp/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.