cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

MCP docs route clients through mcp-remote, which has five published CVE records

Open playb0t opened this issue 1 month ago • 1 comments

Existing documentation URL(s)

  • https://developers.cloudflare.com/cloudflare-one/access-controls/ai-controls/mcp-portals/
  • https://developers.cloudflare.com/cloudflare-one/insights/dex/dex-mcp-server/
  • https://developers.cloudflare.com/agents/model-context-protocol/guides/remote-mcp-server/
  • https://developers.cloudflare.com/agents/model-context-protocol/guides/test-remote-mcp-server/
  • https://developers.cloudflare.com/agents/model-context-protocol/protocol/transport/
  • https://developers.cloudflare.com/agent-setup/claude-code/

What changes are you suggesting?

Four of these pages give client configs that connect through mcp-remote (MCP portals, DEX MCP server, and the two remote MCP server guides). The transport page offers it for testing, and the Claude Code page lists it as a requirement in its troubleshooting section. The MCP portals page goes further: "For MCP clients with server configuration files, we recommend using the npx command with the mcp-remote@latest argument". The DEX MCP server page configures Cloudflare's own server, dex.mcp.cloudflare.com, the same way.

Since 24 September 2026, mcp-remote has five published CVE records: CVE-2026-51994 and CVE-2026-51995 for versions 0.1.32 through 0.1.38, CVE-2026-51996 and CVE-2026-51997 for 0.1.16 through 0.1.38, and CVE-2026-52001 for 0.1.18 through 0.1.38. No later release has been stated to fix them. The latest release, 0.14.3 from 21 September, also pins @modelcontextprotocol/client 2.0.0 in its lockfile. That version sits inside the affected range of the TypeScript SDK's CVE-2026-104850 (GHSA-6qxp-vccf-f47h) and of GHSA-6prh-2h8m-c8cw. So npx mcp-remote and mcp-remote@latest currently resolve to a build whose bundled SDK version is inside those affected ranges.

Suggested changes:

  1. Where the client can add a remote MCP server by URL, lead with that. Claude has custom connectors (Add custom connector, under Connectors), and Cursor takes an HTTP server entry. Keep mcp-remote as the fallback.
  2. Where mcp-remote stays, add a short note. It would say that the records exist, that no fixed release has been stated, and that readers should connect it only to servers they trust.
  3. MCP portals: reconsider recommending mcp-remote@latest to Cloudflare One customers, or add the same note there.
  4. DEX MCP server: offer a direct connection option for Cloudflare's own server next to the mcp-remote one.

One caveat for point 1. Claude's custom connectors reach the server from Anthropic's infrastructure, so a server running on localhost still needs a local bridge. That's the case where the note in point 2 matters most.

Additional information

I'm the researcher behind the five records. The research, its timeline and every correction are public: https://github.com/playb0t/mcp-remote-oauth-security

  • Records: https://www.cve.org/CVERecord?id=CVE-2026-51994 (and -51995, -51996, -51997, -52001)
  • SDK advisories: https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6qxp-vccf-f47h and https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6prh-2h8m-c8cw
  • mcp-remote 0.14.3 lockfile: https://github.com/punkpeye/mcp-remote/blob/v0.14.3/pnpm-lock.yaml
  • Claude custom connectors: https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp

Some context on why these pages matter: Cloudflare's launch post of 25 March 2025 introduced mcp-remote as one of the pieces for remote MCP, so these docs are where many people first meet it. The CNA's descriptions and CISA's scores stand as published.

playb0t avatar Oct 03 '26 09:10 playb0t

Closing this one. #32891 went in on 22 October and took the local-proxy guidance off all six pages listed here. Direct Streamable HTTP configs are in its place.

I checked on 25 October against copies of the pages from 21 October. The MCP portals page had 19 mentions of mcp-remote. It now has one, a troubleshooting entry ("Users cannot connect with mcp-remote or similar tools"). DEX, the two remote MCP server guides, transport and the Claude Code setup page had 2, 3, 3, 2 and 1. All five now have none.

That is what this issue asked for. The troubleshooting entry reads fine as it is. The template lockfile in cloudflare/vibesdk-templates#13 lives in another repository and stays open there.

playb0t avatar Oct 25 '26 04:10 playb0t