Skip to main content

CKAN MCP Server CVE-2026-76811

| EUVDEUVD-2026-141712 HIGH
Reliance on Reverse DNS Resolution for a Security-Critical Action (CWE-350)
2026-12-02 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed/unauthenticated MCP sparql_query tool
  2. Delivery
    Supply attacker-controlled HTTPS endpoint_url
  3. Exploit
    Bypass up-front host check via redirect or DNS rebinding
  4. Execution
    fetch() follows to 169.254.169.254 internal target
  5. Impact
    Return 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ckan-mcp-server < 0.4.110

Affected Packages

euvd ckan_mcp_server fix: 0.4.110

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 19:19 EUVD
CVE Published
Dec 02, 2026 - 17:40 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

Prevalence
Rare
niche single-maintainer open-source MCP server, tiny deployment footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy