CVE-2026-33060: SSRF in @aborruso/ckan-mcp-server via base_url allows access to internal networks
The MCP server @aborruso/ckan-mcp-server, which lets an AI assistant query CKAN open-data portals, sends HTTP requests to any URL given in the base_url argument of tools such as ckan_package_search and sparql_query. Versions before 0.4.85 are affected. A prompt-injected assistant can be steered to internal services or cloud metadata. Upgrade to 0.4.85.
Published Mar 18, 2026 · Updated Apr 24, 2026 · Analysis Oct 31, 2026
What an attacker can do
The tools ckan_package_search, sparql_query and ckan_datastore_search_sql accept a base_url and call it with no validation. There is no block on private ranges (RFC 1918), link-local addresses or the cloud metadata address 169.254.169.254. The researcher's proof of concept pointed base_url at a canary host and it received nine requests, so there is also no rate limit.
The attacker does not talk to the server directly. The advisory notes that exploitation needs prompt injection: a web page or document that the victim's assistant reads, containing instructions to call the tool with a chosen base_url. That is why attack complexity is rated high and user interaction is required.
If it works, the MCP server acts as a proxy inside the victim's network. The attacker can scan internal services and, on a cloud host, request IAM credentials from the instance metadata service. The advisory also says the datastore and SPARQL tools take unsanitized query text, which opens SQL and SPARQL injection against whatever endpoint is targeted. The CVSS vector rates confidentiality high and nothing else.
Who is affected
The npm package @aborruso/ckan-mcp-server before 0.4.85, on any machine where an AI assistant has it connected as an MCP server. Check the installed version:
npm ls -g @aborruso/ckan-mcp-serverIf you launch it through npx, look at the version pinned in your MCP client's configuration file. The risk is highest where the host has access to a cloud metadata service or internal networks.
@aborruso/ckan-mcp-server
- Ecosystem
- npm
- Affected
- < 0.4.85
- Fixed in
- 0.4.85
- Check
npm ls @aborruso/ckan-mcp-server
How to fix it
Upgrade to 0.4.85:
npm install -g @aborruso/[email protected]The advisory does not describe how 0.4.85 fixes the problem, or any new setting. It lists an allowlist of CKAN portals and blocking of private and metadata addresses only as recommendations, so check the release notes. Until you upgrade, restrict the host or container network so the server cannot reach internal ranges or 169.254.169.254, and remove the server from assistants that read untrusted content.
How to tell if you were hit
Look at the host's network logs for outbound requests from the MCP server process to private ranges, loopback or 169.254.169.254. Check the assistant's tool-call history for ckan_package_search, sparql_query or ckan_datastore_search_sql calls with a base_url that is not a portal you use. Beam records the MCP tool calls an agent makes, so calls with an unfamiliar base_url appear in its log.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
The @aborruso/ckan-mcp-server MCP server provides tools including ckan_package_search and sparql_query that accept a base_url parameter, making HTTP requests to arbitrary endpoints without restriction. A CKAN portal client has no legitimate reason to contact cloud metadata or internal network services.
Severity
Attack complexity is HIGH because exploitation requires prompt injection via malicious content (webpage, document) while the victim's AI assistant has this MCP server connected.
Proof of Concept
Tested inside Docker-in-Docker isolated environment with canary HTTP sidecar.
{"tool": "ckan_package_search", "arguments": {"base_url": "http://canary:8080/ssrf", "query": "test"}}Result: Canary received 9 HTTP requests. The high request volume confirms no rate limiting or URL validation.
Root Cause
No URL validation on base_url parameter. No private IP blocking (RFC 1918, link-local 169.254.x.x), no cloud metadata blocking. The sparql_query and ckan_datastore_search_sql tools also accept arbitrary base URLs and expose injection surfaces.
Impact
Internal network scanning, cloud metadata theft (IAM credentials via IMDS at 169.254.169.254), potential SQL/SPARQL injection via unsanitized query parameters. Attack requires prompt injection to control the base_url parameter.
Recommended Fix
- Validate
base_urlagainst a configurable allowlist of permitted CKAN portals - Block private IP ranges (RFC 1918, link-local)
- Block cloud metadata endpoints (169.254.169.254)
- Sanitize SQL input for datastore queries
- SPARQL endpoint allowlist
Credit
Discovered by Andrei Boldyrev of Munio Security Research using munio
Credited to abcgco.
Questions
- Can an attacker exploit CVE-2026-33060 without prompt injection?
The advisory says exploitation requires prompt injection through malicious content such as a web page or document read by the assistant, because the attacker must control the base_url argument.
- Which version fixes the SSRF in ckan-mcp-server?
0.4.85 of @aborruso/ckan-mcp-server. All earlier versions are listed as vulnerable.
- What can the SSRF reach?
Anything the host can reach: internal network services and, on cloud hosts, the metadata service at 169.254.169.254, which can return IAM credentials.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-102943
Dagu MCP DAG specification read bypasses path containment and workspace isolation
medium6.5Nov 10, 2026CVE-2026-102610
fast-agent: `fast-agent serve` binds HTTP to 0.0.0.0 with no authentication by default; with --shell this is unauthenticated remote command execution
medium6.4Nov 9, 2026CVE-2026-63655
tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS
high7.5Nov 9, 2026CVE-2026-76892
tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process
high8.7Nov 9, 2026CVE-2026-76893
tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clients
medium6.9Nov 9, 2026CVE-2026-77604
Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
high7.5Nov 9, 2026
