{
  "id": "CVE-2026-39885",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-39885",
  "published_at": "2026-04-08T20:34:20.538Z",
  "title": "FrontMCP Affected by SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications",
  "vendor": "agentfront",
  "product": "frontmcp",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:agentfront:\\@frontmcp\\/adapters:*:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:agentfront:\\@frontmcp\\/sdk:*:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:agentfront:frontmcp:*:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:frontmcp:mcp-from-openapi:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "agentfront",
        "product": "frontmcp",
        "ranges": [
          "\u003c 1.0.4"
        ],
        "fixed_in": [
          "1.0.4"
        ]
      },
      {
        "vendor": "@frontmcp",
        "product": "adapters",
        "ranges": [
          "\u003c 1.0.4"
        ],
        "fixed_in": [
          "1.0.4"
        ]
      },
      {
        "vendor": "@frontmcp",
        "product": "sdk",
        "ranges": [
          "\u003c 1.0.4"
        ],
        "fixed_in": [
          "1.0.4"
        ]
      },
      {
        "vendor": "frontmcp",
        "product": "mcp-from-openapi",
        "ranges": [
          "\u003c  2.3.0"
        ],
        "fixed_in": [
          "2.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade frontmcp to 1.0.4 or later.",
      "Upgrade adapters to 1.0.4 or later.",
      "Upgrade sdk to 1.0.4 or later.",
      "Upgrade mcp-from-openapi to 2.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/agentfront/frontmcp/releases/tag/v1.0.4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
