CVE-2026-42031 json
CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`
published 6mo ago modified 3mo ago also EUVD-2026-30118 , GHSA-h7j7-3rx6-xvcg , PYSEC-2026-2417
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- pypi ckan 2.10.10, 2.11.5
- okfn ckan 2.10.10, 2.11.5
Is CVE-2026-42031 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 5mo ago
Exploit prediction
1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template CKAN DataStore SQL Search - SQL Injection nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ckan | <2.10.10 >=2.11.0, <2.11.5 |
2.10.10 2.11.5 |
Affected products
- ckan ckan
Classification
References
-
github.com
/ckan/ckan/security/advisories/GHSA-h7j7-3rx6-xvcg
web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-42031
advisory
-
docs.ckan.org
/en/2.10/changelog.html#v-2-10-10-2026-04-29
web
-
docs.ckan.org
/en/2.11/changelog.html#v-2-11-5-2026-04-29
web
-
docs.ckan.org
/en/2.11/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IAuthFunctions
web
-
docs.ckan.org
/en/2.11/maintaining/configuration.html#ckan-datastore-sqlsearch-enabled
web
-
github.com
/ckan/ckan
package
-
pypi.org
/project/ckan
package
-
github.com
/advisories/GHSA-h7j7-3rx6-xvcg
advisory
Sources
- CVE List CVE-2026-42031
- GitHub Advisory GHSA-h7j7-3rx6-xvcg
- NVD CVE-2026-42031
- OSV PYSEC-2026-2417
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.