# CVE-2026-53509: @aborruso/ckan-mcp-server: SSRF via base_url allows access to internal networks (Potential fix bypass of CVE-2026-33060)

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-07-07T19:35:57.000Z
- Modified: 2026-10-12T16:10:00.220Z
- Also known as: GHSA-g84h-j7jj-x32p
- Related: CVE-2026-61612
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

CKAN MCP Server is a tool for querying CKAN open data portals. A known vulnerability CVE-2026-33060 indicated tools including ckan_package_search and sparql_query that accept a base_url parameter had the risk of making HTTP requests to arbitrary endpoints without restriction. A fix was applied to filter out ip addresses. However, a method to bypass exists prior to version 0.4.106. CKAN MCP Server validates caller-supplied CKAN server URLs by inspecting only the parsed hostname string before issuing outbound HTTP requests. In `src/utils/http.ts`, hostname aliases such as `ip6-localhost` are not equal to `localhost`, are not dotted IPv4 literals, and are not bracketed IPv6 literals, so they pass the SSRF filter but can resolve to loopback when the server performs the request. A remote MCP caller that can invoke CKAN tools with a `server_url` can therefore make the server connect to local or private addresses and, for CKAN-shaped responses, receive response-derived data. The updated fix in version 0.4.106 replaced the single `hostname === 'localhost'` check with a blocked-hostname `Set` covering `ip6-localhost` and `ip6-loopback`.

(As written by CVE List.)

## Affected

- ondata ckan-mcp-server: < 0.4.106
- @aborruso/ckan-mcp-server (npm): before 0.4.106

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/ondata/ckan-mcp-server/security/advisories/GHSA-g84h-j7jj-x32p> (web)
- <https://github.com/advisories/GHSA-3xm7-qw7j-qc8v> (advisory)
- <https://github.com/ondata/ckan-mcp-server/releases/tag/v0.4.106> (web)
- <https://github.com/ondata/ckan-mcp-server> (package)

## Sources

- CVE List: [CVE-2026-53509](https://www.cve.org/CVERecord?id=CVE-2026-53509), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-g84h-j7jj-x32p](https://github.com/advisories/GHSA-g84h-j7jj-x32p), CC-BY-4.0, modified 2026-09-23
- NVD: [CVE-2026-53509](https://nvd.nist.gov/vuln/detail/CVE-2026-53509), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-53509 · Whole record: https://cve.day/CVE-2026-53509.json · Rebuilt by cve.day 2026-11-25T22:59:34.844Z
