CKAN remote code execution and private information access via crafted resource ids
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
CKAN is an open-source data management system for powering data hubs and data portals. Multiple vulnerabilities have been discovered in Ckan which may lead to remote code execution. An arbitrary file write in `resource_create` and `package_update` actions, using the `ResourceUploader` object. Also reachable via `package_create`, `package_revise`, and `package_patch` via calls to `package_update`. Remote code execution via unsafe pickle loading, via Beaker's session store when configured to use the file session store backend. Potential DOS due to lack of a length check on the resource id. Information disclosure: A user with permission to create a resource can access any other resource on the system if they know the id, even if they don't have access to it. Resource overwrite: A user with permission to create a resource can overwrite any resource if they know the id, even if they don't have access to it. A user with permissions to create or edit a dataset can upload a resource with a specially crafted id to write the uploaded file in an arbitrary location. This can be leveraged to Remote Code Execution via Beaker's insecure pickle loading. All the above listed vulnerabilities have been fixed in CKAN 2.9.9 and CKAN 2.10.1. Users are advised to upgrade. There are no known workarounds for these issues.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ckan | ckan | before 2.9.9; = 2.10.0 | 2.9.9 | Patch available | CNA |
| — | ckan (PyPI) | before 2.9.9 | 2.9.9 | Patch available | GHSA-446m-hmmm-hm8m |
| — | ckan (PyPI) | 2.10.0 to before 2.10.1 | 2.10.1 | Patch available | GHSA-446m-hmmm-hm8m |
- ckan Vendorckan Affected before 2.9.9; = 2.10.0 Fixed in 2.9.9 Patch available CNA
- ckan (PyPI) Vendor— Affected before 2.9.9 Fixed in 2.9.9 Patch available GHSA-446m-hmmm-hm8m
- ckan (PyPI) Vendor— Affected 2.10.0 to before 2.10.1 Fixed in 2.10.1 Patch available GHSA-446m-hmmm-hm8m
Remediation
- Fix · CNA ckan (ckan) Fixed in 2.9.9
- Fix · GHSA-446m-hmmm-hm8m ckan (PyPI) Fixed in 2.9.9 Advisory →
- Fix · GHSA-446m-hmmm-hm8m ckan (PyPI) Fixed in 2.10.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-32321
- 2026-10-03 Alias added: GHSA-446m-hmmm-hm8m
References
Advisory 2
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-2026-30410 CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql` CVSS 4.0HIGH 8.3
- TI-2023-08919 CKAN is vulnerable to session secret shared across instances using Docker images CVSS 3.1HIGH 8.6
- 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
- CVE-2023-32321 · CVE Program
- CVE-2023-32321 · NVD
- FIRST EPSS
- GHSA-446m-hmmm-hm8m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences