GitHub Advisoryadvisory · PyPI

GHSA-cg4x-64p3-x59h CKAN has Unauthenticated Authorization Bypass in `datastore_search_sql`

MEDIUM Published 2026-04-30 Modified 2026-05-14 Official page ↗
Aliases
CVE-2026-42032
Ecosystem
PyPI
Packages
ckan
Severity
Moderate
CVSS 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
Weaknesses
CWE-863
Reviewed
2026-04-30

Affected packages

• PyPI ckan: < 2.10.10 → fixed in 2.10.10 • PyPI ckan: >= 2.11.0, < 2.11.5 → fixed in 2.11.5

Description

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

Related

Alias · CVE (1)

  • CVE-2026-42032 CKAN is an open-source DMS (data management system) for powering data hubs and data portals. vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References