CKAN MCP Server vulnerabilities
14 known CVE vulnerabilities in CKAN MCP Server, translated and rated.
- CVE-2026-76812Critical
In CKAN MCP Server prior to version 0.4.110, on the default HTTP deployment, an unauthenticated remote attacker can make the server issue requests to internal-only addresses and read the responses. Pointing the sparql_query tool at an attacker-controlled endpoint that redirects to the cloud instance-metadata service (169.254.169.254) causes the server to follow the redirect without re-validation and return the metadata, including temporary IAM role credentials on IMDSv1.
- CVE-2026-92146Medium
In CKAN MCP Server prior to version 0.4.119, the isBlockedIp function incorrectly classifies IPv6 addresses in ranges 64:ff9b::/96, 64:ff9b:1::/48, 2002::/16, and ::/96, allowing bypass of SSRF protections. The flaw affects both literal URL validation and DNS resolution at connection time, enabling attackers to access internal resources.
- CVE-2026-76897Medium
In CKAN MCP Server prior to version 0.4.109, the Express-based HTTP transport does not validate Origin or Host headers, violating MCP specification security requirements. This allows any webpage to send cross-origin JSON-RPC requests to the victim's MCP endpoint and invoke registered tools.
- CVE-2026-76896Medium
In CKAN MCP Server prior to version 0.4.109, the ckan_list_resources tool (with check_source_portal enabled by default) derives the destination of a server-side HTTP request from response data rather than caller input. The host, port, and scheme come from the url field of a dataset's resources, allowing an attacker to cause requests to an attacker-chosen origin.
- CVE-2026-76895Medium
In CKAN MCP Server prior to version 0.4.109, tool output is assembled from portal-controlled fields without output encoding. ckan_package_show and sibling renderers insert dataset title, notes, resource name/description/url, and group titles verbatim into the result returned to the MCP client, allowing an attacker to fully control the content of a tool result.
- CVE-2026-76813High
In CKAN MCP Server prior to version 0.4.111, makeCkanRequest fetches upstream responses into memory with no size limit and then decompresses them synchronously with no output-size limit. A caller-controlled server_url/endpoint_url, or one reached via a redirect, that returns an oversized or highly-compressed body forces the server to allocate an attacker-chosen amount of memory and block its event loop inside a single synchronous decompression call, crashing or stalling the server.
- CVE-2026-76811High
In CKAN MCP Server prior to version 0.4.110, 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). As a result, a caller-supplied endpoint_url can be used to reach internal-only services and cloud metadata endpoints (e.g. 169.254.169.254), exfiltrating their responses back through the tool output.
- CVE-2026-76894Low
CKAN MCP Server prior to 0.4.112, the DataStore table UI in src/resources/datastore-table-ui.ts accepts window message events without validating event.origin and sends JSON-RPC messages through postMessage with a wildcard target origin. A frame that can reach the embedded document can inject fabricated fields or records, spoof pending ui/initialize responses, disrupt the MCP UI handshake, or receive outbound messages when the resource is embedded by an untrusted parent. Values are HTML escaped, so the demonstrated content injection is display spoofing rather than script execution, and exploitability depends on the host embedding model.
- CVE-2026-61612Medium
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.108, the SSRF guard `validateServerUrl` (added for CVE-2026-33060, extended for CVE-2026-53509) validates only the hostname string and never resolves DNS. Any caller-supplied `server_url` whose hostname *resolves* to an internal address passes the guard, so the server issues requests to loopback and cloud metadata (`169.254.169.254`). This is a third bypass of the same guard, and it reaches IMDS — strictly more than CVE-2026-53509, which only reached loopback. Version 0.4.108 contains an updated fix.
- CVE-2026-53509Medium
CKAN MCP Server before version 0.4.106 has an SSRF vulnerability that allows bypassing the IP address filter using hostname aliases such as ip6-localhost, which are not equal to localhost and are not dotted IPv4 or bracketed IPv6 literals. A remote caller can force the server to connect to local or private addresses.
- CVE-2026-73846Medium
CKAN MCP Server before 0.4.112 contains a vulnerability in canonicalizeParams in src/utils/cache.ts that serializes request parameters with unescaped ampersand, equals-sign, and vertical-bar delimiters, allowing different logical parameter sets used by buildCacheKey to collide. An attacker can prime a shared cache with a response for a victim's distinct query.
- CVE-2026-73845Medium
CKAN MCP Server before 0.4.112 contains a vulnerability in the ckan_get_mqa_quality and ckan_get_mqa_quality_details tools in src/tools/quality.ts. The isValidMqaServer function validates the server_url parameter with a prefix-only regular expression for dati.gov.it, allowing suffix-host and URL-userinfo values to target an attacker-controlled host and return a spoofed response.
- CVE-2026-73844Low
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to 0.4.112, error paths reflect raw upstream response bodies and internal exception messages back to the caller instead of a sanitized, generic message. When the server is pointed at (or redirected/SSRF'd to) a host that returns a non-CKAN response, or when an internal exception occurs, the caller receives verbatim upstream content and internal detail (hostnames, internal IPs, DB errors, stack fragments). This vulnerability is fixed in 0.4.112.
- CVE-2026-33060Medium
CKAN MCP Server versions prior to 0.4.85 provide tools including ckan_package_search and sparql_query that accept a base_url parameter, making HTTP requests to arbitrary endpoints without restriction. There is no URL validation, no private IP blocking (RFC 1918, link-local 169.254.x.x), and no cloud metadata blocking. The sparql_query and ckan_datastore_search_sql tools also accept arbitrary base URLs and expose injection surfaces. An attack can lead to internal network scanning, cloud metadata theft (IAM credentials via IMDS at 169.254.169.254), and potential SQL/SPARQL injection via unsanitized query parameters. Attack requires prompt injection to control the base_url parameter. This issue has been fixed in version 0.4.85.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

