Read the docs
TI-2026-30410 Aliases CVE-2026-42031GHSA-h7j7-3rx6-xvcg

CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`

Priority MEDIUM 48CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
SQL injection, Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89 and CWE-863.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01817 78th percentileScored 2026-11-07
Fix Fixed ckan (ckan): 2.11.5, 2.10.10ckan (PyPI): 2.10.10, 2.11.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ckanckan2.11.0 to before 2.11.5; before 2.10.102.11.5, 2.10.10Patch availableCNA
—ckan (PyPI)before 2.10.102.10.10Patch availableGHSA-h7j7-3rx6-xvcg
—ckan (PyPI)2.11.0 to before 2.11.52.11.5Patch availableGHSA-h7j7-3rx6-xvcg
  • ckan Vendorckan Affected 2.11.0 to before 2.11.5; before 2.10.10 Fixed in 2.11.5, 2.10.10 Patch available CNA
  • ckan (PyPI) Vendor— Affected before 2.10.10 Fixed in 2.10.10 Patch available GHSA-h7j7-3rx6-xvcg
  • ckan (PyPI) Vendor— Affected 2.11.0 to before 2.11.5 Fixed in 2.11.5 Patch available GHSA-h7j7-3rx6-xvcg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*before 2.10.10; 2.11.0 to before 2.11.5Vulnerableckan
  • cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:* Versions before 2.10.10; 2.11.0 to before 2.11.5 Vulnerable ·ckan

Remediation

  • Fix · CNA ckan (ckan) Fixed in 2.11.5, 2.10.10
  • Fix · GHSA-h7j7-3rx6-xvcg ckan (PyPI) Fixed in 2.10.10 Advisory →
  • Fix · GHSA-h7j7-3rx6-xvcg ckan (PyPI) Fixed in 2.11.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42031
  2. 2026-10-03 Alias added: GHSA-h7j7-3rx6-xvcg

References

  • TI-2026-29863 CKAN: CSRF exemption primed by anonymous requests CVSS 3.1MEDIUM 6.1
  • TI-2021-07973 CKAN - Stored Cross-Site Scripting (XSS) via SVG File Upload CVSS 3.1MEDIUM 5.4
  • TI-2023-15615 CKAN remote code execution and private information access via crafted resource ids CVSS 3.1CRITICAL 9.8
  • TI-2023-08919 CKAN is vulnerable to session secret shared across instances using Docker images CVSS 3.1HIGH 8.6
  • TI-2023-15972 Excessive permissions for ckan user CVSS 3.1HIGH 8.8
  • TI-2022-21443 CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is… CVSS 3.1HIGH 8.8
See all 13 →

Sources