NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-42031: CKAN has Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`

highCVSS 4.0 8.3GHSA-h7j7-3rx6-xvcg

Impact A vulnerability in datastoresearchsql allowed attackers to inject SQL 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 29, 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 inject SQL 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 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.

Credits

  • Reported by Arvin Shivram of Brutecat Security

Credited to ddd.

References

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 entries