# CVE-2023-22746: CKAN is vulnerable to session secret shared across instances using Docker images

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-02-03T21:07:11.551Z
- Modified: 2026-06-17T05:36:05.230Z
- Weaknesses: CWE-330, CWE-344
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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).

(As written by CVE List.)

## Affected

- ckan ckan: >= 2.9.0, < 2.9.7; < 2.8.12
- okfn ckan: before 2.8.12; from 2.9.0 before 2.9.7

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x> (third-party-advisory)
- <https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b> (patch)
- <https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa> (patch)

## Sources

- CVE List: [CVE-2023-22746](https://www.cve.org/CVERecord?id=CVE-2023-22746), CVE Terms of Use, modified 2025-03-10
- NVD: [CVE-2023-22746](https://nvd.nist.gov/vuln/detail/CVE-2023-22746), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22746 · Whole record: https://cve.day/CVE-2023-22746.json · Rebuilt by cve.day 2026-11-25T22:58:21.830Z
