6.7medium
CKAN: Unauthenticated Authorization Bypass in `datastore_search_sql`
- Severity
- 6.7medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cg4x-64p3-x59hPYSEC-2026-2416
Description
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, a vulnerability in datastore_search_sql allowed attackers to bypass authorization in order to gain access to private resources and PostgreSQL system information This vulnerability is fixed in 2.10.10 and 2.11.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ckan ckan | >= 2.11.0, < 2.11.5, < 2.10.10 | CVE List |
| ckan (PyPI) | before 2.10.10, from 2.11.0 before 2.11.5 | GitHub Advisory Database, PyPA Advisory Database |
| okfn ckan | before 2.10.10, from 2.11.0 before 2.11.5 | NVD |
All scores
| GitHub_M | 6.7medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, a vulnerability in datastore_search_sql allowed attackers to bypass authorization in order to gain access to private resources and PostgreSQL system information This vulnerability is fixed in 2.10.10 and 2.11.5.
GitHub Advisory Database
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
NVD (es)
CKAN es un DMS (sistema de gestión de datos) de código abierto para impulsar centros de datos y portales de datos. Antes de las versiones 2.10.10 y 2.11.5, una vulnerabilidad en datastore_search_sql permitía a los atacantes eludir la autorización para obtener acceso a recursos privados e información del sistema de PostgreSQL. Esta vulnerabilidad está corregida en las versiones 2.10.10 y 2.11.5.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42032 changed 2026-05-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cg4x-64p3-x59h changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-42032 changed 2026-11-11 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2416 changed 2026-07-13 | CC-BY-4.0 |