CVE-2026-76897: CKAN MCP Server: HTTP transport does not validate Origin/Host on /mcp (DNS rebinding)
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.109, the Express-based HTTP transport exposes an MCP endpoint that does not validate the Origin or Host header of incoming requests. This violates the single mandatory security requirement the MCP specification places on HTTP transports (Basic/Transports, "Security Warning"). The SDK's StreamableHTTPServerTransport ships the controls to satisfy requirement 1 (enableDnsRebindingProtection, allowedHosts, allowedOrigins); none are configured. As a result any web page the victim visits can issue cross-origin JSON-RPC requests to the victim's MCP endpoint and invoke any registered tool. This issue has been patched in version 0.4.109.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.4.109
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments of the npm package ckan-mcp-server before version 0.4.109 that expose the Express-based HTTP /mcp endpoint are affected. A victim must visit an attacker-controlled web page for cross-origin requests to be issued to that endpoint.
What can an attacker do without credentials?
An attacker can cause a victim's browser to send cross-origin JSON-RPC requests to the victim's MCP endpoint and invoke any registered tool. The issue does not require attacker privileges, but exploitation requires user interaction.
Is the HTTP transport securely configured by default in affected versions?
No. The affected transport does not configure the SDK controls for DNS rebinding protection, allowed hosts, or allowed origins, so Origin and Host headers are not validated.
What is the remediation?
Upgrade ckan-mcp-server to version 0.4.109, which patches the issue.