# CVE-2026-76895: CKAN MCP Server: Unsanitized portal-controlled fields are emitted verbatim in tool output (injection)

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-20, CWE-74, CWE-79
- **Published:** 2026-12-02T17:41:28.258Z
- **Modified:** 2026-12-02T21:18:17.307Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker publishing content on a CKAN portal can inject arbitrary text into tool results returned by the CKAN MCP Server, since dataset fields are emitted without output encoding.

## Who should check

- Anyone running ondata ckan-mcp-server \< 0.4.109

## Description

CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.109, tool output is assembled from portal-controlled fields without any output-encoding step. ckan\_package\_show and the sibling renderers insert dataset title, notes, resource name/description/url and group titles verbatim into the result returned to the MCP client. These fields are free text controlled by whoever published the dataset, and server\_url may point at any portal, including one the attacker operates. A single missing control — neutralization of untrusted content at the rendering boundary — lets an attacker fully determine the content of a tool result. This issue has been patched in version 0.4.109.

## Affected and fixed versions

- ondata ckan-mcp-server: \< 0.4.109 (cvelist)

## Technologies

MCP servers and SDKs (AI-matched)

## Mitigation

- Upgrade ckan-mcp-server to 0.4.109 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-76895. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-76895.md
Affected: ondata ckan-mcp-server < 0.4.109
Fixed in: ondata ckan-mcp-server 0.4.109

Steps:
1. Search this machine and project for ondata ckan-mcp-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-76895 being exploited?

There is no confirmed exploitation: CVE-2026-76895 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-76895?

Medium: CVSS 6.9 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-76895?

ondata ckan-mcp-server \< 0.4.109.

### Is there a fix for CVE-2026-76895?

Yes. Fixed in ondata ckan-mcp-server 0.4.109. Upgrade ckan-mcp-server to 0.4.109 or later.

### How do I check if I'm affected by CVE-2026-76895?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ondata/ckan-mcp-server/security/advisories/GHSA-c499-9f77-93m8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-76895>

HTML: <https://flawdb.com/CVE-2026-76895> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-76895>
