Security mailing lists by PureSourceCode

CVE-2026-39885

HIGH 7.5CVSS 3.1

mcp-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD agentfront @frontmcp/adapters
cpe:2.3:a:agentfront:\@frontmcp\/adapters:*:*:*:*:*:node.js:*:*
< 1.0.4 1.0.4
NVD agentfront @frontmcp/sdk
cpe:2.3:a:agentfront:\@frontmcp\/sdk:*:*:*:*:*:node.js:*:*
< 1.0.4 1.0.4
NVD agentfront frontmcp
cpe:2.3:a:agentfront:frontmcp:*:*:*:*:*:node.js:*:*
< 1.0.4 1.0.4
NVD frontmcp mcp-from-openapi
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.