Loading advisory.
Loading advisory.
CKAN has Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`
A vulnerability in datastore_search_sql allowed attackers to inject SQL in order to gain access to private resources and PostgreSQL system information.
Published 2026-04-29 23:11 UTC · Modified 2026-07-13 16:43 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| ckan | PyPI | < 2.10.10 >= 2.11.0, < 2.11.5 versions 0.11, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 1.0, 1.1, 1.2, 1.3, 1.3.2, 1.3.3, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.3.1, 1.5, 1.5.1 and 100 more | 2.10.10, 2.11.5 | pip install --upgrade 'ckan>=2.10.10'pip install --upgrade 'ckan>=2.11.5' |
A vulnerability in datastore_search_sql allowed attackers to inject SQL in order to gain access to private resources and PostgreSQL system information.
The issue has been patched in CKAN 2.10.10 and CKAN 2.11.5
Disable the DataStore SQL search (ckan.datastore.sqlsearch.enabled = false). Note that the SQL search is disabled by default.
As stated in the documentation, this action function has protections that offer some safety but are not designed to prevent all types of abuse. Depending on the sensitivity of private data in a project's DataStore and the likelihood of abuse of a consuming site, a developer may choose to disable this action function or restrict its use with a IAuthFunctions plugin.
Reported by Arvin Shivram of Brutecat Security
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.018 on 2026-11-24 to 0.022 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.018 | first score | v2026.06.15 |
| 2026-11-26 | 0.022 | 0.018 | v2026.06.15 |