CVE-2026-42031 Details
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 inject SQL in order to gain access to private resources and PostgreSQL system information This vulnerability is fixed in 2.10.10 and 2.11.5.
A vulnerability allowing unauthenticated SQL injection has been identified in CKAN versions prior to 2.10.10 and 2.11.5. This issue resides in the 'datastore_search_sql' function, where attackers could inject SQL to access private resources and PostgreSQL system information.
Users can upgrade to CKAN versions 2.10.10 or 2.11.5 to address this vulnerability. Alternatively, the DataStore SQL search feature can be disabled by setting 'ckan.datastore.sqlsearch.enabled' to 'false', although this feature is disabled by default.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ckan/ckan/security/advisories/GHSA-h7j7-3rx6-xvcg | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| okfn ckan | < 2.10.10 >= 2.11.0, < 2.11.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 15, 2026 | Initial Analysis | [email protected] |
| May 13, 2026 | New CVE Received | [email protected] |