Skip to main content

CKAN MCP Server CVE-2026-76897

| EUVDEUVD-2026-141716 MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-12-02 GitHub_M
6.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Victim runs HTTP transport and visits attacker page
  2. Delivery
    Page sends cross-origin JSON-RPC to 127.0.0.1:3000/mcp
  3. Exploit
    Unvalidated Origin/Host header accepted
  4. Execution
    Invoke registered MCP tool (e.g. sparql_query)
  5. Impact
    Reach internal/metadata endpoints, disclose data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to be running the Express-based HTTP transport (TRANSPORT=http) exposing the /mcp endpoint with none of the SDK controls configured (enableDnsRebindingProtection, allowedHosts, allowedOrigins all unset) - the default stdio transport is not affected. In the browser-driven case the victim must also visit an attacker-controlled web page (UI:R), and no credential is needed because /mcp requires no authentication and advertises authorization_not_supported. The key limiting factor is that the HTTP transport is a non-default deployment mode; however, the shipped docker-compose.yml binds 0.0.0.0 and publishes 3000:3000 on all interfaces, so a same-LAN attacker can reach the unauthenticated endpoint directly, removing the UI:R requirement for that deployment.

Impact

This is a genuine but conditional risk rather than a drop-everything emergency, and the signals are mostly consistent. The CVSS vector (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N, base 6.1 Medium) describes a network-reachable but interaction- and condition-dependent flaw: no authentication is needed (PR:N) because the local MCP endpoint intentionally ships without auth, but the attacker must get the victim to visit a malicious page (UI:R) and the target must be running the Express HTTP transport. No EPSS score was provided and the issue is not in CISA KEV, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_month', consistent with a real-but-not-urgent priority. The advisory ships PoC artifacts (dns-rebinding-poc.html, verify-config.mjs), so working exploitation is clearly feasible even though the input does not confirm them as weaponized exploit code. One signal cuts the other way and raises real-world risk above the UI:R framing: the shipped docker-compose binds 0.0.0.0 and publishes 3000:3000 on all interfaces with no auth, so a same-LAN attacker can reach /mcp directly with no user interaction at all - on that deployment the UI:R precondition does not hold. Note a metadata discrepancy to verify: the input CWE is CWE-306 (missing authentication) while the advisory assigns CWE-346/350/352 (origin validation / cross-origin / CSRF), and the latter better match the described mechanism.

Exploit ScenarioDerived

A user runs CKAN MCP Server with the HTTP transport (TRANSPORT=http) and then browses to an attacker-controlled web page. That page issues cross-origin JSON-RPC POSTs to http://127.0.0.1:3000/mcp; because the Origin/Host headers are never validated, the browser-originated request is accepted like a local client and the page can invoke any registered tool (and, chained with GHSA-38f8-m897-jm7w's sparql_query, reach internal or cloud-metadata addresses). A public PoC reference exists in the advisory (a DNS-rebinding HTML page); it is not verified as working exploit code in the provided input.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 02, 2026

CKAN MCP Server's Express-based HTTP transport exposes an unauthenticated /mcp endpoint that never inspects Origin or Host headers, so any web page a victim visits - or any host on the same LAN when the container is published on all interfaces - can issue cross-origin JSON-RPC requests and invoke every registered MCP tool. The shipped StreamableHTTPServerTransport omits all of the SDK's DNS-rebinding controls (enableDnsRebindingProtection, allowedHosts, allowedOrigins), enabling classic CSRF and DNS rebinding against what is usually treated as a local-only service, with read-oriented impact (C:H/I:N) and possible chaining to internal or cloud-metadata endpoints. Public proof-of-concept artifacts are published in the repository (poc/dns-rebinding-poc.html and poc/verify-config.mjs); active exploitation in the wild has not been reported and the issue is not in CISA KEV, but exploitation requires the non-default HTTP transport mode, so exposure is limited to deployments running TRANSPORT=http.

RemediationAI

Vendor-released patch: 0.4.109 (npm @aborruso/ckan-mcp-server) configures the transport's origin controls; upgrade from any version below 0.4.109 per the advisory at https://github.com/ondata/ckan-mcp-server/security/advisories/GHSA-v3j5-c4v8-4pjr. If upgrading immediately is not possible, the equivalent code-level control is to construct StreamableHTTPServerTransport with enableDnsRebindingProtection: true plus explicit allowedHosts (e.g. '127.0.0.1:3000', 'localhost:3000') and allowedOrigins ('http://127.0.0.1:3000', 'http://localhost:3000'), which makes cross-origin and rebinding requests fail; the trade-off is that any legitimate client using a different hostname or origin must be added to those lists. The advisory additionally recommends deployment hardening that is explicitly not a fix for this issue: bind to loopback by default (app.listen(port, '127.0.0.1', ...)), publish the container port as 127.0.0.1:3000:3000 instead of 3000:3000, and front any network-exposed deployment with an authenticating reverse proxy - each of these reduces reachability but leaves the missing origin validation in place until the patch is applied. Note that CKAN_ALLOWED_DOMAINS does not mitigate this flaw because it constrains queried CKAN hosts, not who may connect to /mcp, and it does not cover sparql_query.

Affected VersionsENISA

ckan-mcp-server < 0.4.109

Affected Packages

euvd ckan_mcp_server fix: 0.4.109

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

The MCP specification makes exactly one MUST-level requirement of HTTP transports: servers must validate the Origin header on all incoming connections to prevent DNS rebinding. CKAN MCP Server's src/transport/http.ts registers app.post('/mcp', ...) and constructs StreamableHTTPServerTransport with only sessionIdGenerator and enableJsonResponse set, leaving enableDnsRebindingProtection, allowedHosts and allowedOrigins unconfigured, so headers are never inspected by the transport or the surrounding Express app. The CVE is filed as CWE-306 (missing authentication for a critical function), while the advisory attributes the root cause to CWE-346 (origin validation error), CWE-350 (reliance on reverse DNS) and CWE-352 (CSRF): a browser-originated cross-origin POST is accepted identically to a legitimate local client request. DNS rebinding defeats same-origin isolation over time by re-resolving an attacker-controlled hostname to 127.0.0.1, letting the malicious page read responses it could not otherwise read. Because the endpoint advertises authorization_not_supported at /.well-known/oauth-authorization-server, no credential gates tool invocation. The advisory notes that chaining with GHSA-38f8-m897-jm7w allows the attacker page to call sparql_query with an attacker-chosen endpoint_url that redirects or rebinds to internal or cloud-metadata addresses, converting a drive-by page visit into internal network reach and potential credential disclosure. CKAN_ALLOWED_DOMAINS restricts which CKAN hosts may be queried but is not an origin control and does not apply to sparql_query.

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 6.1 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
vuln.today AI 6.1 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but needs the non-default HTTP transport plus victim visiting a malicious page (AC:H/UI:R); crossing the browser origin boundary to the MCP service gives S:C with C:H.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/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
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Dec 02, 2026 - 19:19 EUVD

DescriptionCVE.org

CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.109, the Express-based HTTP transport exposes an MCP endpoint that does not validate the Origin or Host header of incoming requests. This violates the single mandatory security requirement the MCP specification places on HTTP transports (Basic/Transports, "Security Warning"). The SDK's StreamableHTTPServerTransport ships the controls to satisfy requirement 1 (enableDnsRebindingProtection, allowedHosts, allowedOrigins); none are configured. As a result any web page the victim visits can issue cross-origin JSON-RPC requests to the victim's MCP endpoint and invoke any registered tool. This issue has been patched in version 0.4.109.

Threat Intelligence Overview

Prevalence
Rare
obscure open-source MCP server for CKAN portals, 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 MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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