CVE-2026-92146
CKAN MCP Server
- Severity
- Medium
- Published
- December 2, 2026
- Last modified
- December 2, 2026
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.119, there is one missing normalization-and-classification pass in isBlockedIp. The affected ranges (64:ff9b::/96, 64:ff9b:1::/48, 2002::/16, ::/96) are not independently fixable — they are the same gap seen from different prefixes, and any patch that classifies a parsed address correctly closes all of them at once, while any patch that appends one prefix to the string-matching chain leaves the rest (and the non-canonical spellings of each) open. Because isBlockedIp() is the single shared decision point for BOTH the literal-URL guard (validateServerUrl) and the connection-time DNS-resolution guard (createSsrfSafeLookup / assertHostnameResolvesSafe), the gap applied to both halves: an attacker could pass the address as an IPv6 literal, or as a hostname whose AAAA record resolves to one. This issue has been patched in version 0.4.119.
CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Weakness
- CWE-918 Server-side request forgery
References
Listed in
More CKAN MCP Server CVEs
The Express-based HTTP transport exposes an MCP endpoint that does not validate the Origin or Host header of incoming requests.
Ckan_list_resources (with check_source_portal, default on) derives the destination of a server-side HTTP request from response data rather than from caller input.
Tool output is assembled from portal-controlled fields without any output-encoding step. ckan_package_show and the sibling renderers insert dataset title, notes, resource name/description/url and group…
MakeCkanRequest fetches upstream responses into memory with no size limit and then decompresses them synchronously with no output-size limit.
On the project's shipped HTTP deployment, an unauthenticated remote attacker can make the server issue requests to internal-only addresses and read the responses.
The sparql_query 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).
