CVE-2026-76811: CKAN MCP Server: Server-Side Request Forgery (SSRF) in `sparql_query` / fetch-based request paths via unvalidated redirects and DNS rebinding
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.110, the sparqlquery tool does not use the proper request path. querySparqlEndpoint uses the global fetch() and guards it with a single up-front check, assertHostnameResolvesSafe(url.hostname). As a result, a caller-supplied endpointurl can be used to reach internal-only services and cloud metadata endpoints (e.g. http://169.254.169.254/), exfiltrating their responses back through the tool output. This issue has been patched in version 0.4.110.
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.110
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments running CKAN MCP Server versions before 0.4.110 are affected where an attacker can invoke the sparql_query tool and supply an endpoint_url. The vulnerable path can reach internal-only services and cloud metadata endpoints.
What does an attacker need to exploit this?
The attacker needs network access to the MCP Server interface or another way to cause sparql_query to process an attacker-controlled endpoint_url. No privileges or user interaction are required, but exploitation has high attack complexity.
How can I tell whether my instance is affected?
Check the deployed CKAN MCP Server version. Versions earlier than 0.4.110 are affected; version 0.4.110 contains the patch.
What should I do if I cannot patch immediately?
Restrict access to the MCP Server and prevent untrusted callers from supplying endpoint_url values to sparql_query. Limit the server's network access to internal services and cloud metadata endpoints where possible.