{"id":"CVE-2023-22746","summary":"CKAN is vulnerable to session secret shared across instances using Docker images","details":"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)\nkeitaroinc/docker-ckan (keitaro/ckan images).\n","aliases":["GHSA-pr8j-v4c8-h62x"],"modified":"2026-04-10T04:55:11.171449Z","published":"2023-02-03T21:07:11.551Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22746.json","cwe_ids":["CWE-330","CWE-344"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22746.json"},{"type":"ADVISORY","url":"https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22746"},{"type":"FIX","url":"https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b"},{"type":"FIX","url":"https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ckan/ckan","events":[{"introduced":"ba0120dc0c798bbc9b6d8e9ad83db01a197ea179"},{"fixed":"0d714b258668ee78a0b19182c53b34689629df37"}],"database_specific":{"versions":[{"introduced":"2.9.0"},{"fixed":"2.9.7"}]}},{"type":"GIT","repo":"https://github.com/ckan/ckan","events":[{"introduced":"0"},{"fixed":"d843f5e85879e442acde7d679b622014b3518746"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.8.12"}]}}],"versions":["ckan-1.3.3b","ckan-1.4.3","ckan-1.5","ckan-2.8.0","ckan-2.8.1","ckan-2.8.10","ckan-2.8.11","ckan-2.8.2","ckan-2.8.3","ckan-2.8.4","ckan-2.8.5","ckan-2.8.6","ckan-2.8.7","ckan-2.8.8","ckan-2.9.0","ckan-2.9.1","ckan-2.9.2","ckan-2.9.3","ckan-2.9.4","ckan-2.9.5","ckan-2.9.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22746.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"}]}