CVE-2026-42032: CKAN has Unauthenticated Authorization Bypass in `datastore_search_sql`
Impact A vulnerability in datastoresearchsql allowed attackers to bypass authorization in order to gain access to private resources and PostgreSQL system information Patches The issue has been patched in CKAN 2.10.10 and CKAN 2.11.5 Workarounds Disable the DataStore SQL search (ckan.datastore.sqlsearch.enabled = false). Note that the SQL search is disabled by default.
Published Apr 30, 2026 · Updated May 14, 2026
Affected packages
ckan
- Ecosystem
- PyPI
- Affected
- < 2.10.10
- Fixed in
- 2.10.10
- Check
pip show ckan
ckan
- Ecosystem
- PyPI
- Affected
- >= 2.11.0, <= 2.11.4
- Fixed in
- 2.11.5
- Check
pip show ckan
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A vulnerability in datastore_search_sql allowed attackers to bypass authorization in order to gain access to private resources and PostgreSQL system information
Patches
The issue has been patched in CKAN 2.10.10 and CKAN 2.11.5
Workarounds
Disable the DataStore SQL search (ckan.datastore.sqlsearch.enabled = false). Note that the SQL search is disabled by default.
More information
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 your DataStore and the likelihood of abuse of your site, you may choose to disable this action function or restrict its use with a `IAuthFunctions` plugin.
Credits
- Reported by Arvin Shivram of Brutecat Security
Credited to ddd.
References
- https://github.com/ckan/ckan/security/advisories/GHSA-cg4x-64p3-x59h
- https://docs.ckan.org/en/2.10/changelog.html#v-2-10-10-2026-04-29
- https://docs.ckan.org/en/2.11/changelog.html#v-2-11-5-2026-04-29
- https://docs.ckan.org/en/2.11/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IAuthFunctions
- https://docs.ckan.org/en/2.11/maintaining/configuration.html#ckan-datastore-sqlsearch-enabled
- https://nvd.nist.gov/vuln/detail/CVE-2026-42032
- https://github.com/advisories/GHSA-cg4x-64p3-x59h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-104773
CKAN: Session Fixation in Registration View
medium6.8Nov 20, 2026CVE-2026-41132
CKAN has no certificate validation on STMP connection
medium6.6Apr 29, 2026CVE-2026-41255
CKAN has CSRF exemption primed by anonymous requests
medium6.1Apr 29, 2026CVE-2026-42031
CKAN has Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`
high8.3Apr 29, 2026CVE-2025-54384
CKAN vulnerable to stored XSS in resource description
medium6.3Oct 29, 2025CVE-2025-64100
CKAN vulnerable to fixed session IDs
medium6.1Oct 29, 2025
