CVE-2026-39885
HIGH 7.5CVSS 3.1mcp-from-openapi is Vulnerable to 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.
- Published
- 8 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-v6ph-xcq9-qxxj
- Sources
- NVDJSONOSV GHSA-v6ph-xcq9-qxxjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | agentfront | @frontmcp/adapterscpe:2.3:a:agentfront:\@frontmcp\/adapters:*:*:*:*:*:node.js:*:* |
< 1.0.4 | 1.0.4 |
| NVD | agentfront | @frontmcp/sdkcpe:2.3:a:agentfront:\@frontmcp\/sdk:*:*:*:*:*:node.js:*:* |
< 1.0.4 | 1.0.4 |
| NVD | agentfront | frontmcpcpe:2.3:a:agentfront:frontmcp:*:*:*:*:*:node.js:*:* |
< 1.0.4 | 1.0.4 |
| NVD | frontmcp | mcp-from-openapicpe:2.3:a:frontmcp:mcp-from-openapi:*:*:*:*:*:node.js:*:* |
< 2.3.0 | 2.3.0 |
| OSV | npm | mcp-from-openapi | < 2.3.0 | 2.3.0 |
| OSV | npm | @frontmcp/sdk | < 1.0.4 | 1.0.4 |
| OSV | npm | @frontmcp/adapters | < 1.0.4 | 1.0.4 |
References
- https://github.com/agentfront/frontmcp/releases/tag/v1.0.4 · Product, WEB
- https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39885 · ADVISORY
- https://github.com/agentfront/frontmcp · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Apr 2026)