CVE-2026-76896: CKAN MCP Server: Data-driven (second-order) SSRF and outbound-request amplification via source-portal probing in `ckan_list_resources`
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.109, ckanlistresources (with checksourceportal, default on) derives the destination of a server-side HTTP request from response data rather than from caller input. The host, port and scheme are taken from the url field of a dataset's resources — metadata controlled by whoever published the dataset — so a caller who merely lists the resources of a malicious dataset causes the server to issue requests to an attacker-chosen origin. This is a single defect: an outbound destination is constructed from untrusted data without being constrained to the trust boundary the rest of the server enforces (serverurl / CKANALLOWEDDOMAINS). 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 can trigger the server-side request?
An unauthenticated caller can trigger it by listing resources for a malicious dataset. The caller does not need to supply the outbound destination directly; it is derived from resource metadata in the dataset.
Which deployments are affected by default?
Deployments using versions before 0.4.109 are affected when ckan_list_resources has check_source_portal enabled, which is the default. The affected request destination can bypass the intended server_url and CKAN_ALLOWED_DOMAINS trust boundary.
What controls the destination of the outbound request?
The dataset resource's url field controls the host, port, and scheme used for the request. A party able to publish dataset metadata can therefore select the origin that the MCP server contacts.
What is the available remediation?
Upgrade CKAN MCP Server to version 0.4.109, which contains the patch. The provided data does not specify an alternative mitigation for deployments that cannot immediately upgrade.