CVE-2026-73845

CKAN MCP Server: MQA server allowlist bypass via unanchored regex (`isValidMqaServer`)

Published Aug 14, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to 0.4.112, the ckan_get_mqa_quality and ckan_get_mqa_quality_details tools in src/tools/quality.ts use isValidMqaServer to validate the server_url parameter with a prefix-only regular expression for dati.gov.it, allowing suffix-host and URL-userinfo values to target an attacker-controlled host and return a spoofed response. This issue is fixed in version 0.4.112.

Analysis

AI-generated

Technical impact

CKAN MCP Server suffers from an allowlist bypass that is caused by the use of an unanchored regular expression in the isValidMqaServer routine. The flaw permits maliciously crafted server_url values that include suffix-host and URL-userinfo components to be treated as valid, meaning the tool can be coaxed into treating an attacker‑controlled host as a trusted MQA server. The result is that the tool will fetch data from the malicious host and return a spoofed response, potentially exposing sensitive information or misleading users about the authenticity of the data. This vulnerability falls under CWE‑20 (Improper Input Validation), CWE‑625 (Improper Handling of Cryptographic Parameters), and CWE‑918 (Server‑Side Request Forgery).

Affected Systems

All releases of CKAN MCP Server prior to version 0.4.112 are vulnerable. The issue is fixed in the release candidate tagged v0.4.112. The product is provided by the vendor "ondata" as CKAN MCP Server.

Risk and Exploitability

The CVSS score is 5.3, indicating moderate severity. EPSS information is not available, making it difficult to gauge current exploitation likelihood, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an attacker supplying a crafted server_url parameter to the tool; this could be performed by a user of the tool or via a compromised system running the tool, thereby enabling an attacker to manipulate the data retrieved by the tool. Given the absence of active exploitation data, the immediate risk is moderate but should be mitigated promptly by applying available fixes.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CKAN MCP Server to version 0.4.112 or later, which includes a corrected server_url validation routine.
  • Modify the tool’s configuration or the isValidMqaServer logic to enforce a strict prefix‑only regular expression that rejects any URL containing suffix-host or URL‑userinfo components.
  • If an immediate upgrade is not possible, restrict outbound requests from the tool to a narrow list of approved MQA server endpoints, or apply network controls such as firewall rules to block connections to unknown hosts until the patch is applied.

Generated by OpenCVE AI on August 14, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-83x6-42hr-jc76 CKAN MCP Server: MQA server allowlist bypass via unanchored regex (`isValidMqaServer`)
History
Type Values Removed Values Added
First Time appeared Ondata
Ondata ckan-mcp-server
Vendors & Products Ondata
Ondata ckan-mcp-server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description CKAN MCP Server is a tool for querying CKAN open data portals. Prior to 0.4.112, the ckan_get_mqa_quality and ckan_get_mqa_quality_details tools in src/tools/quality.ts use isValidMqaServer to validate the server_url parameter with a prefix-only regular expression for dati.gov.it, allowing suffix-host and URL-userinfo values to target an attacker-controlled host and return a spoofed response. This issue is fixed in version 0.4.112.
Title CKAN MCP Server: MQA server allowlist bypass via unanchored regex (`isValidMqaServer`)
Weaknesses CWE-20
CWE-625
CWE-918
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-625

    Permissive Regular Expression

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 14, 2026, 6:06 PM
Reserved
Aug 13, 2026, 5:44 PM
Status
Deferred
Published
Aug 14, 2026, 5:20 PM
Modified
Sep 18, 2026, 8:09 PM