Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33060: CWE-918: Server-Side Request Forgery (SSRF) in ondata ckan-mcp-server

0
Medium
VulnerabilityCVE-2026-33060cvecve-2026-33060cwe-918
Published: Fri Mar 20 2026 (03/20/2026, 07:21:30 UTC)
Source: CVE Database V5
Vendor/Project: ondata
Product: ckan-mcp-server

Description

CKAN MCP Server is a tool for querying CKAN open data portals. 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. A CKAN portal client has no legitimate reason to contact cloud metadata or internal network services. There is 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. An attack can lead to 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. This issue has been fixed in version 0.4.85.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/27/2026, 19:08:29 UTC

Technical Analysis

The vulnerability CVE-2026-33060 affects ondata's ckan-mcp-server, a tool used to query CKAN open data portals. Versions before 0.4.85 allow unauthenticated attackers with low privileges to exploit the base_url parameter in tools such as ckan_package_search, sparql_query, and ckan_datastore_search_sql. These parameters are used to make HTTP requests but lack any validation or filtering, enabling Server-Side Request Forgery (SSRF). This means attackers can coerce the server to send requests to arbitrary internal or external endpoints, including private IP ranges (RFC 1918), link-local addresses (169.254.x.x), and cloud metadata services (notably 169.254.169.254). Accessing the cloud metadata service can expose sensitive IAM credentials, which attackers can leverage for privilege escalation or lateral movement within cloud environments. Furthermore, the sparql_query and ckan_datastore_search_sql tools accept unsanitized query parameters, opening injection attack surfaces for SQL or SPARQL injection. Exploitation requires the attacker to inject the base_url parameter, but no user interaction is necessary. The vulnerability does not impact integrity or availability directly but compromises confidentiality significantly. The issue was addressed in version 0.4.85 by implementing proper URL validation and blocking access to private IP ranges and cloud metadata endpoints.

Potential Impact

Organizations using vulnerable versions of ckan-mcp-server risk unauthorized internal network reconnaissance, which can reveal sensitive infrastructure details. The most critical impact is the potential theft of cloud instance metadata, including IAM credentials, which can lead to privilege escalation and further compromise of cloud resources. This can result in data breaches, unauthorized access to sensitive data, and disruption of cloud services. The SSRF vulnerability also increases the attack surface for chained attacks, such as leveraging stolen credentials to move laterally or escalate privileges. The SQL/SPARQL injection vectors further increase risk by enabling attackers to manipulate backend databases, potentially exposing or corrupting data. Since the vulnerability requires only low privileges and no user interaction, it can be exploited remotely and stealthily, increasing the likelihood of successful attacks. However, the medium CVSS score reflects that exploitation complexity is moderate due to the need to control the base_url parameter and some access restrictions.

Mitigation Recommendations

1. Upgrade ckan-mcp-server to version 0.4.85 or later, where the vulnerability is fixed. 2. Implement strict input validation and sanitization on all parameters that accept URLs, especially base_url, to ensure only legitimate and expected endpoints are reachable. 3. Enforce network-level restrictions to block outbound requests from the ckan-mcp-server to private IP ranges (RFC 1918), link-local addresses, and cloud metadata IPs (169.254.169.254). 4. Use web application firewalls (WAFs) with rules to detect and block SSRF patterns and injection attempts targeting SPARQL or SQL queries. 5. Monitor logs for unusual outbound requests from the server to internal or cloud metadata endpoints. 6. Employ the principle of least privilege for the ckan-mcp-server service account, limiting its network access and permissions. 7. Conduct regular security assessments and penetration tests focusing on SSRF and injection vulnerabilities in data portal tools. 8. Educate developers and administrators about SSRF risks and secure coding practices for handling external URLs and query parameters.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-17T19:27:06.342Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bcf9b8e32a4fbe5f3bdae9

Added to database: 3/20/2026, 7:39:36 AM

Last enriched: 3/27/2026, 7:08:29 PM

Last updated: 5/2/2026, 1:15:10 AM

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses