CKAN
CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.11.0, < 2.11.5
- < 2.10.10
Fixed in 2.11.5, 2.10.10
Mitigation
Upgrade ckan to 2.11.5 or 2.10.10 or later.
References
- Vendor advisory github.com/ckan/ckan/security/advisories/GHSA-…
Timeline
Days relative to CVE publicationFirst public PoC 9.5 days before publication; not in CISA KEV. First PoC: nuclei template: CKAN DataStore SQL Search - SQL Injection (nuclei template, 4 May 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner | 7 Sep 2026 +116 d | 1 | Scanner |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: CKAN DataStore SQL Search - SQL Injection | 4 May 2026 | 14 Nov 2026 |