SQL Injection Affecting ckan package, versions [,2.10.10)[2.11.0, 2.11.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.82% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CKAN-16322869
  • published30 Apr 2026
  • disclosed29 Apr 2026
  • creditskull

Introduced: 29 Apr 2026

CVE-2026-42031  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade ckan to version 2.10.10, 2.11.5 or higher.

Overview

ckan is a world’s leading Open Source data portal platform.

It powers dozens of Open Data portals around the world, including data.gov, open.canada.ca and europeandataportal.eu but also regional, research and community organizations.

It makes easy to publish, share and find data online and is fully customizable via extensions and plugins.

Affected versions of this package are vulnerable to SQL Injection via the datastore_search_sql function. An attacker can access private resources and retrieve PostgreSQL system information by injecting crafted SQL statements.

Note: This is only exploitable if the DataStore SQL search feature is enabled.

CVSS Base Scores

version 4.0
version 3.1