Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-42031: CKAN is an open-source DMS (data management system) for powering data hubs and data portals

62
This week
CRITICAL 9.8REMOTEUPGRADE

CVE-2026-42031 is a critical-severity flaw (CVSS 9.8) affecting ckan. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 this priority

  • Critical severity
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.8% (top 21%)
CISA exploited listNo
WeaknessCWE-89
Published2026-05-13
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: okfn

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

okfn ckan UPGRADE
Affected: < 2.10.10 · >= 2.11.0 and < 2.11.5
Fixed in: 2.10.10, 2.11.5
Safe to downgrade to: a release before 2.11.0
1. Check installed version
apt-cache policy ckan || rpm -q ckan || ckan --version
2. UPGRADE to 2.10.10 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ckan
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ckan
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.11.0 (Debian / Ubuntu)
apt-cache madison ckan sudo apt install ckan=<VERSION_BEFORE_2.11.0> sudo apt-mark hold ckan
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list ckan sudo dnf downgrade ckan-<VERSION_BEFORE_2.11.0> sudo dnf versionlock add ckan
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Python (pip) · ckan · FIXED · 2.10.10 · vulnerable: < 2.10.10 · source
pip install --upgrade "ckan>=2.10.10" pip show ckan
Fedora 46 · proftpd · FIXED · 1.3.9e-1.fc46 · FEDORA-2026-fc0d87d66e · source
sudo dnf upgrade --advisory=FEDORA-2026-fc0d87d66e

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-42031?

ckan: upgrade to 2.10.10, 2.11.5. Exact commands for each OS are on this page.

Is CVE-2026-42031 being exploited?

CVE-2026-42031 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-42031 affect?

CVE-2026-42031 affects ckan. Severity is critical (CVSS 9.8). 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 a

How urgent is CVE-2026-42031?

Priority 62/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

PostgreSQL vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.