CVE-2026-76812 and more: CKAN MCP Server's unauthenticated HTTP mode let anyone bounce sparql_query to the cloud metadata service and read IAM credentials, plus a string of SSRF, injection and DoS fixes (upgrade to 0.4.147)
CKAN MCP Server (npm @aborruso/ckan-mcp-server) lets AI agents query CKAN open-data portals. Its shipped Docker HTTP deployment served /mcp on 0.0.0.0:3000 with no authentication, and before 0.4.110 sparql_query followed redirects without re-checking them. Anyone who could reach the port could point it at a server that redirects to 169.254.169.254 and get cloud instance-metadata, including IAM role credentials on IMDSv1, back in the tool result. NVD published this and six related CVEs on 2 December 2026. The project has fixed more SSRF, prompt-injection and DoS issues since, most recently in two advisories published on 26 November 2026 and fixed in 0.4.147.
What it is
CVE-2026-76812 (GHSA-vmrr-v4xp-42cx, critical, < 0.4.110): querySparqlEndpoint validated only the first endpoint host, then used fetch(), which follows redirects. The redirect target was never re-checked, and the response (or the reflected error body) was returned to the caller.
CVE-2026-76811 (high, < 0.4.110): SSRF in sparql_query and other fetch-based paths through unvalidated redirects and DNS rebinding. CVE-2026-76897 (< 0.4.109): the HTTP transport did not validate Origin or Host on /mcp, so it was open to DNS rebinding. CVE-2026-76896 (< 0.4.109): second-order SSRF, where ckan_list_resources took request destinations from attacker-controlled dataset metadata.
CVE-2026-76895 (< 0.4.109): portal-controlled fields were put into tool output verbatim, so a portal could inject instructions into the agent's context. A follow-up advisory, GHSA-r5rr-xv9x-8mj8 (fixed 0.4.147), fixes more unsanitized portal fields in Markdown output.
CVE-2026-76813 (high, < 0.4.111): responses were buffered with no size limit and decompressed synchronously, so a decompression bomb could take the server down. GHSA-3x8h-9fx2-x647 (fixed 0.4.147) fixes unlimited SPARQL response size. CVE-2026-92146 (fixed 0.4.119) and GHSA-279h-fmcr-4rwv (fixed 0.4.128) close more gaps in the SSRF guard (NAT64/6to4 IPv6 ranges, and redirects to IP literals).
How to check
- Run npm ls @aborruso/ckan-mcp-server (or check the image you deploy). Anything below 0.4.110 has the critical flaw; anything below 0.4.147 has some of the later fixes missing.
- Check whether you run it with TRANSPORT http and whether port 3000 is reachable from outside the machine.
- If it runs on a cloud VM or container with an instance role, check whether IMDSv2 is enforced and review the role's recent activity.
How to fix
- Upgrade to @aborruso/ckan-mcp-server 0.4.147 or later.
- Do not expose the HTTP transport to untrusted networks; use stdio or put an authenticating proxy in front of /mcp.
- Enforce IMDSv2 (or block 169.254.169.254 from the container), and rotate the instance role's credentials if an old version was reachable.
npm ls @aborruso/ckan-mcp-server
npm install @aborruso/ckan-mcp-server@latest # 0.4.147 or later