{"id":"CVE-2026-42032","aliases":["CVE-2026-42032","GHSA-cg4x-64p3-x59h","PYSEC-2026-2416"],"related":[],"kind":"vulnerability","state":"published","title":"CKAN: Unauthenticated Authorization Bypass in `datastore_search_sql`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA vulnerability in `datastore_search_sql` allowed attackers to bypass authorization in order to gain access to private resources and PostgreSQL system information\n\n### Patches\nThe issue has been patched in CKAN 2.10.10 and CKAN 2.11.5\n\n### Workarounds\nDisable the DataStore SQL search (`ckan.datastore.sqlsearch.enabled = false`). Note that the SQL search is disabled by default.\n\n### More information\n\nAs stated in the [documentation](https://docs.ckan.org/en/2.11/maintaining/configuration.html#ckan-datastore-sqlsearch-enabled), 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`](https://docs.ckan.org/en/2.11/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IAuthFunctions) plugin.\n\n### Credits\n\n* Reported by Arvin Shivram of Brutecat Security","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-30T17:34:44.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 2.11.0, < 2.11.5","status":"affected"},{"version":"< 2.10.10","status":"affected"}],"vendor":"ckan","product":"ckan","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.10.10"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.11.0","status":"affected","fixed":"2.11.5"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.10.10"},{"status":"affected","introduced":"2.11.0","fixed":"2.11.5"}],"vendor":"okfn","product":"ckan","cpe":"cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.10.10"},{"type":"ecosystem","introduced":"2.11.0","status":"affected","fixed":"2.11.5"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"pysec"}],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-cg4x-64p3-x59h","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42032","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://docs.ckan.org/en/2.10/changelog.html#v-2-10-10-2026-04-29","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://docs.ckan.org/en/2.11/changelog.html#v-2-11-5-2026-04-29","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://docs.ckan.org/en/2.11/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IAuthFunctions","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://docs.ckan.org/en/2.11/maintaining/configuration.html#ckan-datastore-sqlsearch-enabled","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ckan/ckan","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/ckan","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-cg4x-64p3-x59h","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-14T18:15:01.018Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42032","url":"https://www.cve.org/CVERecord?id=CVE-2026-42032","licence":"CVE Terms of Use","modified":"2026-05-14T18:15:13.043Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cg4x-64p3-x59h","url":"https://github.com/advisories/GHSA-cg4x-64p3-x59h","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:36.866Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42032","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42032","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2416","url":"https://osv.dev/vulnerability/PYSEC-2026-2416","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:32.545Z"}],"updatedAt":"2026-11-25T22:59:21.636Z","epss":{"score":0.00367,"percentile":0.3259,"date":"2026-12-01T12:00:22.000Z"}}