Skip to content
HighVulnerability

CVE-2026-39885: FrontMCP mcp-from-openapi SSRF and local file read via $ref in OpenAPI specs

Identifier
CVE-2026-39885
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

Prior to 2.3.0, the mcp-from-openapi library in FrontMCP dereferences $ref pointers in OpenAPI specifications using @apidevtools/json-schema-ref-parser without configuring URL restrictions or custom resolvers. A malicious specification with $ref values pointing to internal network addresses, cloud metadata endpoints, or local files causes the library to fetch those resources during the initialize() call, enabling Server-Side Request Forgery and local file reads when untrusted OpenAPI specifications are processed.

Mitigation

Fixed in 2.3.0.