MEDIUM5.3
PYSEC-2026-1248
CKAN may leak Solr credentials via error message in package_search action
Quick fix
PYSEC-2026-1248 — ckan: upgrade to the fixed version with the command below.
pip install --upgrade 'ckan>=2.10.5'Details
If there were connection issues with the Solr server, the internal Solr URL (potentially including credentials) could be leaked to `package_search` calls as part of the returned error message
### Patches This has been patched in CKAN 2.10.5 and 2.11.0
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/ckan/ckan/security/advisories/GHSA-2rqw-cfhc-35fh[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-41674[ADVISORY]
- https://github.com/ckan/ckan/commit/f6b032cd7082d784938165bbd113557639002ca7[WEB]
- https://github.com/ckan/ckan[PACKAGE]
- https://pypi.org/project/ckan[PACKAGE]
- https://github.com/advisories/GHSA-2rqw-cfhc-35fh[ADVISORY]