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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ckan | ckan | >= 2.11.0, < 2.11.5, < 2.10.10 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner ★ 1 · Sep 7, 2026
CVE-2026-42031 SQL Injection Scanner for CKAN DataStore
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- CKAN DataStore SQL Search - SQL Injection http/cves/2026/CVE-2026-42031.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | ckan | < 2.10.10 | 2.10.10 | GHSA-h7j7-3rx6-xvcg |
| PyPI | ckan | >= 2.11.0, < 2.11.5 | 2.11.5 | GHSA-h7j7-3rx6-xvcg |
| PyPI | ckan | < 2.10.10 · >= 2.11.0, < 2.11.5 | 2.10.10, 2.11.5 | PYSEC-2026-2417 |
Advisories 1
- WID-SEC-2026-1560 CKAN: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 17, 2026