CVE-2026-42031
HIGH 8.3CVSS 4.0CKAN has 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.
- Published
- 13 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863CWE-89
- Also known as
- GHSA-h7j7-3rx6-xvcgPYSEC-2026-2417
- Sources
- NVDJSONOSV GHSA-h7j7-3rx6-xvcgJSONOSV PYSEC-2026-2417JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | okfn | ckancpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:* |
< 2.10.10 | 2.10.10 |
| NVD | okfn | ckancpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:* |
>= 2.11.0, < 2.11.5 | 2.11.5 |
| OSV | PyPI | ckan | < 2.10.10 | 2.10.10 |
| OSV | PyPI | ckan | >= 2.11.0, < 2.11.5 | 2.11.5 |
| OSV | PyPI | ckan | < 2.10.10; >= 2.11.0, < 2.11.5 | 2.10.10, 2.11.5 |
References
- https://github.com/ckan/ckan/security/advisories/GHSA-h7j7-3rx6-xvcg · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42031 · ADVISORY
- https://docs.ckan.org/en/2.10/changelog.html#v-2-10-10-2026-04-29 · WEB
- https://docs.ckan.org/en/2.11/changelog.html#v-2-11-5-2026-04-29 · WEB
- https://docs.ckan.org/en/2.11/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IAuthFunctions · WEB
- https://docs.ckan.org/en/2.11/maintaining/configuration.html#ckan-datastore-sqlsearch-enabled · WEB
- https://github.com/ckan/ckan · PACKAGE
- https://pypi.org/project/ckan · PACKAGE
- https://github.com/advisories/GHSA-h7j7-3rx6-xvcg · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Apr 2026)