{"cve":"CVE-2026-39885","nvd":{"published":"2026-04-08T21:17:00.833","modified":"2026-07-24T21:10:00.143","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-918"],"references":["https://github.com/agentfront/frontmcp/releases/tag/v1.0.4","https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj","https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj"],"products":["agentfront:\\@frontmcp\\/adapters","agentfront:\\@frontmcp\\/sdk","agentfront:frontmcp","frontmcp:mcp-from-openapi"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-39885","score":0.00396,"percentile":0.33789,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-v6ph-xcq9-qxxj","url":"https://osv.dev/vulnerability/GHSA-v6ph-xcq9-qxxj","summary":"mcp-from-openapi is Vulnerable to SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications","modified":"2026-04-09T14:47:24.272767Z","packages":[{"ecosystem":"npm","name":"mcp-from-openapi","purl":"pkg:npm/mcp-from-openapi","ranges":["<2.3.0"],"fixed":["2.3.0"]},{"ecosystem":"npm","name":"@frontmcp/sdk","purl":"pkg:npm/%40frontmcp/sdk","ranges":["<1.0.4"],"fixed":["1.0.4"]},{"ecosystem":"npm","name":"@frontmcp/adapters","purl":"pkg:npm/%40frontmcp/adapters","ranges":["<1.0.4"],"fixed":["1.0.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}