# CVE-2024-41674: PYSEC-2026-1248 - CKAN may leak Solr credentials via error message in package_search action

Source: https://junglewise.ai/threats/cve-2024-41674-ckan-solr-credentials-leak-in-package-search-error-message  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2024-41674 · Severity: low · CVSS 3.1 · Published 2026-07-07

CKAN is an open data management platform that uses Solr as a search backend. When the Solr server is unreachable or experiences connection problems, CKAN's package_search API may leak the internal Solr URL including authentication credentials in error messages returned to callers. This could allow attackers to obtain database credentials and potentially compromise the underlying search infrastructure.

Technologies: [ckan (PyPI)](https://junglewise.ai/threats/technologies/pypi-ckan). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-41674 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-41674 being exploited in the wild.

**How severe is CVE-2024-41674?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** ckan (PyPI) ECOSYSTEM:introduced=2.0.0,fixed=2.10.5.

**Is there a fix for CVE-2024-41674?** Yes. ckan (PyPI): upgrade to 2.10.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-41674 attacked?** It is attacked over the network.

**Am I affected by CVE-2024-41674?** Check whether you run ckan (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ckan (PyPI): upgrade to 2.10.5 or later

  ```sh
  pip install "ckan>=2.10.5"
  ```


## Technical details

The vulnerability is a case of sensitive information disclosure (CWE-209) where error handling in the package_search action fails to sanitize exception messages. When Solr connection failures occur, the raw Solr URL containing embedded credentials is included in the error response without filtering. The attack requires network access to the package_search API endpoint with no authentication required; an attacker can trigger connection errors by calling the API during Solr downtime or network issues. The vulnerability has been patched in CKAN 2.10.5 and 2.11.0.

## Affected products

- CKAN Project CKAN 2.0.0 through 2.10.4, excluding 2.10.5 and 2.11.0

## Identifiers

- CVE-2024-41674
- GHSA-2rqw-cfhc-35fh
- PYSEC-2026-1248

## Timeline

- 2024-08-21: disclosed
- 2024-08-21: patched: Patched in CKAN 2.10.5 and 2.11.0

## References

- [https://github.com/ckan/ckan/security/advisories/GHSA-2rqw-cfhc-35fh](https://github.com/ckan/ckan/security/advisories/GHSA-2rqw-cfhc-35fh)

## Related threats

- [PYSEC-2026-1250 - CKAN has an XSS vector in user uploaded images in group/org and user profiles](https://junglewise.ai/threats/cve-2025-24372-ckan-has-an-xss-vector-in-user-uploaded-images-in-group-org-and)
- [PYSEC-2026-1252 - Potential access to sensitive URLs via CKAN extensions (SSRF)](https://junglewise.ai/threats/cve-2024-43371-potential-access-to-sensitive-urls-via-ckan-extensions-ssrf)
- [PYSEC-2026-1253 - CKAN has Cross-site Scripting vector in the Datatables view plugin](https://junglewise.ai/threats/cve-2024-41675-ckan-has-cross-site-scripting-vector-in-the-datatables-view)
- [PYSEC-2026-1251 - Potential log injection in reset user endpoint in CKAN](https://junglewise.ai/threats/cve-2024-27097-potential-log-injection-in-reset-user-endpoint-in-ckan)
- [PYSEC-2026-1249 - Out of memory error when submitting the dataset form with a specially-crafted field](https://junglewise.ai/threats/cve-2023-50248-out-of-memory-error-when-submitting-the-dataset-form-with-a)
