{"id":"CVE-2026-39885","published":"2026-04-08T20:34:20Z","modified":"2026-04-09T16:16:59Z","title":"FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications","vendor":"agentfront","product":"frontmcp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00449,"percentile":0.30895,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/agentfront/frontmcp/releases/tag/v1.0.4","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.18},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"agentfront","affectedVersions":[{"vendor":"agentfront","product":"frontmcp","versions":["< 1.0.4"]},{"vendor":"@frontmcp","product":"adapters","versions":["< 1.0.4"]},{"vendor":"@frontmcp","product":"sdk","versions":["< 1.0.4"]},{"vendor":"frontmcp","product":"mcp-from-openapi","versions":["<  2.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-09T14:53:12.471902Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mcp-from-openapi","vulnerableRanges":["<2.3.0"],"patched":["2.3.0"],"from":["GHSA-v6ph-xcq9-qxxj"],"provenance":"source"},{"ecosystem":"npm","package":"@frontmcp/sdk","vulnerableRanges":["<1.0.4"],"patched":["1.0.4"],"from":["GHSA-v6ph-xcq9-qxxj"],"provenance":"source"},{"ecosystem":"npm","package":"@frontmcp/adapters","vulnerableRanges":["<1.0.4"],"patched":["1.0.4"],"from":["GHSA-v6ph-xcq9-qxxj"],"provenance":"source"}],"summary":{"text":"The flaw lies in the mcp-from-openapi component of FrontMCP, a TypeScript framework for the Model Context Protocol, where $ref pointers in OpenAPI specifications are dereferenced without any URL restrictions or custom resolvers. An attacker who can supply a malicious OpenAPI specification to be processed during the initialize() call can cause the server to fetch internal network addresses, cloud metadata endpoints, or local files, enabling server-side request forgery and local file reads; no authentication or user interaction is required, only that untrusted specifications are processed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:43Z"},"euvd":{"id":"EUVD-2026-20632","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-39885","published":"2026-04-08","fixed":"2.3.0","kev":false},{"cve":"CVE-2026-59973","published":"2026-09-15","fixed":"2.5.0","kev":false,"link":{"from":"CVE-2026-39885","to":"CVE-2026-59973","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mcp-from-openapi","fromFixed":"2.3.0","toFixed":"2.5.0","daysApart":160},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]}}],"package":"npm:mcp-from-openapi"}}