Skip to content
Vulnerability Intelligence

CVE-2026-42031

HighExploited

CKAN has Unauthenticated SQL Injection and Authorization Bypass in datastore_search_sql

Published Apr 29, 2026 · Updated Aug 12, 2026 · Also known as GHSA-h7j7-3rx6-xvcg, PYSEC-2026-2417

Key Facts

Patch immediately
  • CVE-2026-42031 is a high-severity vulnerability (CVSS 8.3 v4) affecting Ckan (Okfn).
  • It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Sep 10, 2026. No public exploit code is known.
  • EPSS estimates a 2.2% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Ckan 2.10.10, Ckan 2.11.5.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v4

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

EPSS (30-day exploit likelihood)

2.2%

Higher than 82.1% of all scored CVEs

Exploited in the wild

Yes

2 catalog listings

Public exploit code

None known

Get the full CVE-2026-42031 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedSep 10, 2026n/aNot reported
CIRCL KEVSep 10, 2026n/aNot reported

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
CkanOkfn>= >= 2.11.0, < 2.11.52.10.10

Patched Releases

Ckan

2.10.10, 2.11.5

Timeline

  1. Publicly disclosed

    Apr 29, 2026

  2. Last updated

    Aug 12, 2026

  3. Added to Industry KEV feed

    Sep 10, 2026

  4. Added to CIRCL KEV

    Sep 10, 2026

Weakness Type

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-863 Incorrect Authorization

References

6 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-42031 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo