CVE-2026-39885 FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
9 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @frontmcp adapters(npm) | < 1.0.4; <= 1.0.3 | 1.0.4 | Fixed |
| @frontmcp mcp-from-openapi | < 2.3.0; = < 2.3.0 | 2.3.0 | Fixed |
| @frontmcp sdk(npm) | < 1.0.4; <= 1.0.3 | 1.0.4 | Fixed |
| agentfront frontmcp | < 1.0.4; = < 1.0.4 | 1.0.4 | Fixed |
| agentfront frontmcpadapters | < 1.0.4 | 1.0.4 | Fixed |
| agentfront frontmcpsdk | < 1.0.4 | 1.0.4 | Fixed |
| npm mcp-from-openapi(npm) | < 2.3.0; <= 2.1.2 | 2.3.0 | Fixed |
| @frontmcp adapters | = < 1.0.4 | No fix listed | Versions listed |
| @frontmcp sdk | = < 1.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| agentfront frontmcp | = < 1.0.4 | No fix listed |
| @frontmcp adapters | = < 1.0.4 | No fix listed |
| @frontmcp sdk | = < 1.0.4 | No fix listed |
| @frontmcp mcp-from-openapi | = < 2.3.0 | No fix listed |
| npm mcp-from-openapi(npm) | <= 2.1.2 | No fix listed |
| @frontmcp sdk(npm) | <= 1.0.3 | No fix listed |
| @frontmcp adapters(npm) | <= 1.0.3 | No fix listed |
| agentfront frontmcpadapters | < 1.0.4 | 1.0.4 |
| agentfront frontmcpsdk | < 1.0.4 | 1.0.4 |
| agentfront frontmcp | < 1.0.4 | 1.0.4 |
| @frontmcp mcp-from-openapi | < 2.3.0 | 2.3.0 |
| npm mcp-from-openapi(npm) | < 2.3.0 | 2.3.0 |
| @frontmcp sdk(npm) | < 1.0.4 | 1.0.4 |
| @frontmcp adapters(npm) | < 1.0.4 | 1.0.4 |
References
- https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj exploit vendor-advisory
- https://github.com/agentfront/frontmcp/releases/tag/v1.0.4 product
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product