CKAN is vulnerable to session secret shared across instances using Docker images
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. When creating a new container based on one of the Docker images listed below, the same secret key was being used by default. If the users didn't set a custom value via environment variables in the `.env` file, that key was shared across different CKAN instances, making it easy to forge authentication requests. Users overriding the default secret key in their own `.env` file are not affected by this issue. Note that the legacy images (ckan/ckan) located in the main CKAN repo are not affected by this issue. The affected images are ckan/ckan-docker, (ckan/ckan-base images), okfn/docker-ckan (openknowledge/ckan-base and openknowledge/ckan-dev images) keitaroinc/docker-ckan (keitaro/ckan images).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA ckan (ckan) Fixed in 2.9.7, 2.8.12
Timeline
- 2026-10-02 Threatist record created from CVE-2023-22746
References
More Ckan vulnerabilities
- TI-2026-29863 CKAN: CSRF exemption primed by anonymous requests CVSS 3.1MEDIUM 6.1
- TI-2021-07973 CKAN - Stored Cross-Site Scripting (XSS) via SVG File Upload CVSS 3.1MEDIUM 5.4
- TI-2023-15615 CKAN remote code execution and private information access via crafted resource ids CVSS 3.1CRITICAL 9.8
- TI-2026-30410 CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql` CVSS 4.0HIGH 8.3
- TI-2023-15972 Excessive permissions for ckan user CVSS 3.1HIGH 8.8
- TI-2022-21443 CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is… CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences