Home / ckan / ckan / CVE-2023-22746
CVE-2023-22746: is it exploited, and which versions of ckan are affected and fixed?
CVE-2023-22746 is an use of Invariant Value in Dynamically Changing Context vulnerability in ckan. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: ckan >= 2.9.0, < 2.9.7 and ckan < 2.8.12 (CVE record by GitHub_M). Fixed in 2.8.12 and 2.9.7 (NVD). Severity: High (8.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-22746?
CKAN is vulnerable to session secret shared across instances using Docker images
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).
From the CVE record by GitHub_M, last updated March 10, 2025, 21:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ckan | ckan | >= 2.9.0, < 2.9.7 < 2.8.12 |
As the CVE record by GitHub_M states it, last updated March 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| okfn | ckan | before 2.8.12 | application |
| okfn | ckan | from 2.9.0 before 2.9.7 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:36 UTC.
How severe is CVE-2023-22746?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-22746 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, March 10, 2025)
- EPSS
- 0.71% probability of exploitation activity in the next 30 days, percentile 54.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-344 Use of Invariant Value in Dynamically Changing Context
- CWE-330 Use of Insufficiently Random Values
Where are the vendor advisories and references?
- https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x x_refsource_CONFIRM
- https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b x_refsource_MISC
- https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 6, 2023
- Published
- February 3, 2023, 21:07 UTC
- CVE record updated
- March 10, 2025, 21:16 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:36 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ckan?
- Nov 19, 2026CVE-2026-104773 ckan: session fixation
- May 13, 2026CVE-2026-42032 ckan: incorrect authorization
- May 13, 2026CVE-2026-41255 ckan: cross-site request forgery (CSRF)
- May 13, 2026CVE-2026-41132 ckan: improper certificate validation
- May 13, 2026CVE-2026-42031 ckan: SQL injection
- Oct 29, 2025CVE-2025-64100 ckan: session fixation
- Oct 29, 2025CVE-2025-54384 ckan: cross-site scripting (XSS)
- Feb 5, 2025CVE-2025-24372 ckan: cross-site scripting (XSS)
Questions about CVE-2023-22746
Is CVE-2023-22746 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.71% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ckan are affected by CVE-2023-22746?
ckan >= 2.9.0, < 2.9.7 and ckan < 2.8.12, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-22746?
2.8.12 and 2.9.7, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-22746?
High (8.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-22746?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.