Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed/unauthenticated MCP sparql_query tool
-
DeliverySupply attacker-controlled HTTPS endpoint_url
-
ExploitBypass up-front host check via redirect or DNS rebinding
-
Executionfetch() follows to 169.254.169.254 internal target
-
ImpactReturn metadata/IAM response in tool output
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication DNS-independent verification
|
| Exploitation Conditions | Applies to Node deployments only - the advisory confirms Cloudflare Workers blocks internal egress and is not exploitable via this path. The attacker must be able to supply the sparql_query tool's endpoint_url, either directly against the network-exposed Express transport (which the advisory states advertises no authentication) or by influencing an LLM/agent driving the MCP server. The endpoint_url must be HTTPS (querySparqlEndpoint rejects non-https protocols). Because the guard validates only the original hostname once, successful exploitation requires one of: an attacker-controlled host that redirects (fetch uses redirect:'follow' and never re-validates the Location), DNS rebinding across the time-of-check/time-of-use gap, or triggering a DNS resolution error that makes assertHostnameResolvesSafe fail open. Realized impact further requires the deployment to actually host reachable internal services or cloud metadata (e.g., AWS IMDSv1 at 169.254.169.254) exposing sensitive data. Limiting factors: no effect on Workers deployments; CKAN_ALLOWED_DOMAINS does not constrain this path; and the same unpinned fetch pattern also affects the Workers branch of makeCkanRequest and the MQA fetch in src/tools/quality.ts. The only complete fix per the vendor is upgrading to 0.4.110 (or routing fetch paths through redirect:'manual'/'error' with re-validation and IP pinning, plus making assertHostnameResolvesSafe fail closed). |
| Impact | Signals are moderately consistent and point to a real-but-bounded priority rather than an emergency. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N, base 7.5 High) reflects an unauthenticated network-reachable SSRF whose scope change (S:C) captures the pivot to a separate security authority (internal/cloud-metadata services), while AC:H signals that straightforward exploitation is not trivial - a direct request to http://169.254.169.254/ is caught by the up-front assertHostnameResolvesSafe check, so a working attack needs a redirect from an attacker-controlled host, DNS rebinding, or a DNS resolution error that makes the guard fail open. The vuln.today Decision label is 'this_week' (not act_now/emergency), and no KEV listing and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation. A public PoC is referenced in the GHSA advisory (poc/redirect-ssrf-poc.mjs with 'VULNERABLE' output), which raises practical risk above a purely theoretical finding. Key missing data: EPSS probability and KEV status are absent (absence is not confirmation of low risk, but nothing indicates in-the-wild use), and the C:H impact is contingent on the target environment actually exposing reachable internal services or metadata credentials (e.g., AWS IMDSv1). Net: a credible, patch-this-week issue most dangerous on cloud-hosted Node deployments with network-exposed, unauthenticated transport - not a mass-exploitation threat given the product's narrow footprint. |
| Exploit ScenarioDerived | An attacker who can supply tool arguments - directly against the unauthenticated network-exposed Express transport, or by influencing an LLM/agent that drives the MCP server - calls sparql_query with an endpoint_url pointing at an attacker-controlled HTTPS host that passes the up-front hostname check and then 302-redirects to an internal target such as http://169.254.169.254/ (alternatively using DNS rebinding to win the time-of-check/time-of-use gap). Because fetch() follows redirects and re-resolves DNS without re-validation, the server fetches the internal/metadata endpoint and returns its body in the tool output, exfiltrating IAM credentials or other internal responses. A public PoC reference exists demonstrating this exact guard-bypass sequence; it is not verified as working exploit code. The CVSS AC:H reflects that this requires the redirect/rebinding setup rather than a single direct request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Server-side request forgery in CKAN MCP Server (npm @aborruso/ckan-mcp-server) prior to 0.4.110 lets an unauthenticated remote attacker who can supply the sparql_query tool's endpoint_url pivot the server into internal networks and cloud metadata services, returning the fetched response body through the tool output. The tool's querySparqlEndpoint uses the global fetch() guarded only by a single up-front assertHostnameResolvesSafe() lookup, so an attacker-controlled HTTPS host that issues a redirect, a DNS-rebinding race, or a DNS error that makes the guard fail open defeats the check; the advisory's impact requires a Node deployment that actually exposes reachable internal services or instance metadata (e.g. AWS IMDS at 169.254.169.254), and Cloudflare Workers deployments are explicitly not exploitable via this path. A public proof-of-concept script (poc/redirect-ssrf-poc.mjs) accompanies the advisory and simulates the guard sequence; it is not verified as working exploit code against a live deployment, and no confirmed active exploitation (CISA KEV) has been reported. The vendor fixed the issue in 0.4.110, and the case is tracked as a this-week priority rather than an emergency.
RemediationAI
Upgrade @aborruso/ckan-mcp-server to 0.4.110, which the vendor identifies as the patched release and the only complete fix; the advisory is at https://github.com/ondata/ckan-mcp-server/security/advisories/GHSA-38f8-m897-jm7w. If an immediate upgrade is not possible, the advisory's own mitigation is to route the fetch-based paths through the protection already used by the axios path: set redirect: "manual" (or redirect: "error" for sparql_query, which has no need to follow redirects) and, for each 3xx, re-run validateServerUrl plus assertHostnameResolvesSafe on the Location with a bounded hop count; and pin to a validated IP using a custom undici dispatcher/lookup so the socket cannot be rebound, mirroring createSsrfSafeLookup. In addition, change assertHostnameResolvesSafe to fail closed and reject when DNS resolution errors instead of returning and letting the request proceed. Trade-off: blocking redirects outright can break legitimate SPARQL endpoints that rely on 3xx redirects, so those endpoints must be pointed at their final URL, and IP pinning requires updating the dispatcher for every fetch-based path (including the Workers branch of makeCkanRequest and the MQA fetch in src/tools/quality.ts) or the gap remains. Relying on CKAN_ALLOWED_DOMAINS is not a mitigation, because it is not enforced on the sparql_query path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CKAN MCP Server is a Model Context Protocol server for querying CKAN open data portals. Its main CKAN request path (the Node branch of makeCkanRequest) implements a solid SSRF defense: it builds an http/https Agent from createSsrfSafeLookup, re-resolves the hostname, rejects when any resolved address is private/internal, and pins the socket to the validated IP, which defeats DNS rebinding. The sparql_query tool bypasses that machinery: querySparqlEndpoint calls the global fetch() after a single assertHostnameResolvesSafe(url.hostname) call. That guard validates only the original hostname and does so once, independently of the resolution fetch performs at connect time, while fetch defaults to redirect: "follow" and never re-validates Location targets - so the check is both redirect-blind and subject to a time-of-check/time-of-use gap. The guard also fails open: in src/utils/http.ts, a DNS lookup error causes the function to return without validating anything. The advisory maps the weakness to CWE-350 (reliance on hostname resolution for a security-critical decision), with CWE-441 (confused deputy/unintended proxy) and CWE-918 (SSRF) also assigned. The same unpinned fetch pattern appears in the Workers branch of makeCkanRequest and the MQA fetch in src/tools/quality.ts, though the Workers platform blocks internal egress and is therefore not exploitable through this path. The CKAN_ALLOWED_DOMAINS allowlist does not help here because it is enforced in validateServerUrl on the CKAN path and sparql_query accepts arbitrary HTTPS endpoints by design.
Know when Ckan Mcp Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Network-reachable and unauthenticated (AV:N/PR:N); AC:H because the direct-IP request is blocked and exploitation needs redirect/DNS-rebinding/fail-open; S:C for the pivot to metadata/internal authority with C:H credential exposure.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
CKAN MCP Server is a tool for querying CKAN open data portals. 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. http://169.254.169.254/), exfiltrating their responses back through the tool output. This issue has been patched in version 0.4.110.
Technical POC Analysis
The flaw is server-side request forgery, CWE-918 (the advisory also lists CWE-350 and CWE-441; the CVE metadata keys on CWE-350).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity server-side request forgery vulnerability in the CKAN MCP Server (npm package @aborruso/ckan-mcp-server, versions prior to 0.4.110) could allow an unauthenticated attacker to pivot into internal networks and cloud metadata services, potentially exposing sensitive instance data. Leadership should care because any Node-based deployment of this server that has reachable internal services or cloud metadata endpoints is at risk, which could lead to unauthorized access to cloud credentials and internal systems.
No vendor-released patch identified at time of analysis. Interim mitigations include: restrict outbound network access from the server to only necessary external hosts, block access to internal IP ranges and cloud metadata endpoints (e.g., 169.254.169.254), disable or limit the sparql_query tool's endpoint_url to trusted domains, and ensure cloud instances use IMDSv2 to mitigate metadata credential theft.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Ckan Mcp Server
View allServer-side request forgery in CKAN MCP Server (ondata/@aborruso ckan-mcp-server) before version 0.4.108 allows an attac
Unauthenticated remote SSRF in CKAN MCP Server (npm @aborruso/ckan-mcp-server) before 0.4.110: an attacker who can reach
Denial of service in CKAN MCP Server (npm @aborruso/ckan-mcp-server) prior to 0.4.111 allows an unauthenticated remote c
CKAN MCP Server before 0.4.109 renders portal-controlled dataset fields (title, notes, resource name/description/url, gr
Server-side request forgery in the CKAN MCP Server npm package (@aborruso/ckan-mcp-server) up to and including 0.4.118 a
CKAN MCP Server's Express-based HTTP transport exposes an unauthenticated /mcp endpoint that never inspects Origin or Ho
Second-order server-side request forgery in CKAN MCP Server before 0.4.109 lets anyone who merely lists the resources of
EUVD-2026-141712
NVD
CVE.org
GitHub
Exploit-DB