{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-39885","id":"CVE-2026-39885","title":"FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications","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 endpoi","descriptionLong":"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.","published":"2026-04-08T20:34:20.538Z","updated":"2026-10-28T02:30:25.787952358Z","reserved":"2026-04-07T20:32:03.010Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["agentfront frontmcp","@frontmcp adapters","@frontmcp sdk","frontmcp mcp-from-openapi"],"affectedProducts":[{"vendor":"agentfront","product":"frontmcp","defaultStatus":null,"versions":[{"version":"< 1.0.4","status":"affected"}],"platforms":[]},{"vendor":"@frontmcp","product":"adapters","defaultStatus":null,"versions":[{"version":"< 1.0.4","status":"affected"}],"platforms":[]},{"vendor":"@frontmcp","product":"sdk","defaultStatus":null,"versions":[{"version":"< 1.0.4","status":"affected"}],"platforms":[]},{"vendor":"frontmcp","product":"mcp-from-openapi","defaultStatus":null,"versions":[{"version":"<  2.3.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"mcp-from-openapi","purl":"pkg:npm/mcp-from-openapi","ranges":["<2.3.0"],"fixed":["2.3.0"],"advisory":"GHSA-v6ph-xcq9-qxxj"},{"ecosystem":"npm","name":"@frontmcp/sdk","purl":"pkg:npm/%40frontmcp/sdk","ranges":["<1.0.4"],"fixed":["1.0.4"],"advisory":"GHSA-v6ph-xcq9-qxxj"},{"ecosystem":"npm","name":"@frontmcp/adapters","purl":"pkg:npm/%40frontmcp/adapters","ranges":["<1.0.4"],"fixed":["1.0.4"],"advisory":"GHSA-v6ph-xcq9-qxxj"}],"cwes":["CWE-918"],"aliases":["GHSA-v6ph-xcq9-qxxj"],"references":[{"url":"https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/agentfront/frontmcp/releases/tag/v1.0.4","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39885.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39885","tags":["advisory"]},{"url":"https://github.com/agentfront/frontmcp","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00403,"epssPercentile":0.35274,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-39885","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39885","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-39885","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v6ph-xcq9-qxxj","ok":true,"note":"GHSA-v6ph-xcq9-qxxj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-39885","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}