Advisory record · GHSA-h7j7-3rx6-xvcg

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

CVSS 8.3 HighEPSS 0.018 · 79th percentile

Published by the GitHub Advisory Database at 29 Apr 2026, 23:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
ckanPyPI<2.10.10 || >=2.11.0, <2.11.52.10.10, 2.11.5
Identifiers
GHSA-h7j7-3rx6-xvcg · CVE-2026-42031 · PYSEC-2026-2417
Weakness (CWE)
CWE-89 · CWE-863
Published
29 Apr 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

CKAN versions before 2.10.10 and from 2.11.0 before 2.11.5 are affected by a flaw in datastore_search_sql. An unauthenticated attacker can inject SQL to read private resources and PostgreSQL system information. Upgrade to CKAN 2.10.10 or 2.11.5. Alternatively, set ckan.datastore.sqlsearch.enabled to false, which is disabled by default.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.3 High 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.018, the 79th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 13 May 2026, 19:17 UTC Confirmed by NVD
  2. 31 Oct 2026, 15:01 UTC First seen by agentprime
  3. 31 Oct 2026, 15:01 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.