# CVE-2026-42031: CKAN - SQLi

> Live exploitation tracking for CVE-2026-42031 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2026-42031

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **Public exploit available:** Yes
- **Affected products:** CKAN
- **Weaknesses:** CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')); CWE-863 (Incorrect Authorization)
- **Tags:** web_application

## Description

CKAN before version 2.10.10 has an unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`

## CrowdSec analysis

[CVE-2026-42031](https://euvd.enisa.europa.eu/vulnerability/CVE-2026-42031) is an unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`

CrowdSec has been tracking this vulnerability and its exploits since 6th of May 2026.

CrowdSec has not observed any significant exploitation activity targeting CVE-2026-42031 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.

Attackers exploit the `/api/action/datastore_search_sql` endpoint by injecting malicious SQL queries via the `sql` parameter, allowing unauthenticated access to sensitive data in the CKAN PostgreSQL database.

## Timeline

- 2026-04-29: CVE Published. CVE-2026-42031 is published to NVD.
- 2026-05-06: Rule Released. CrowdSec releases a rule to detect CVE-2026-42031 exploitation attempts against the CrowdSec Network.
- 2026-08-10: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2026-42031 for the first time.

## References

- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42031.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2026-42031) follows observed exploitation activity for CVE-2026-42031. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
