CVE-2023-32321 — Vulnerability in ckan — CVE Details
CRITICAL
Ckan remote code execution and private information access via crafted resource ids
Published June 29, 2026Updated July 2, 2026Source: osv
Summary
Specific vulnerabilities:
* 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.
### Impact
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.
### Patches
All the above listed vulnerabilities have been fixed in CKAN 2.9.9 and CKAN 2.10.1
The patches for CKAN 2.9 should apply easily to previous CKAN versions.
Advisory Timeline
- First published June 29, 2026 (105 days ago).
- Last revised July 2, 2026 — 3 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip
Update ckan to 2.9.9 or laterpip install "ckan>=2.9.9"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| ckan | pypi | 0.11, 0.3, 0.4, 0.5 (+100 more) | 2.9.9, 2.10.1 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/ckan/ckan/security/advisories/GHSA-446m-hmmm-hm8mWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-32321ADVISORY
- https://github.com/ckan/ckanPACKAGE
- https://github.com/ckan/ckan/blob/2a6080e61d5601fa0e2a0317afd6a8e9b7abf6dd/CHANGELOG.rstWEB
- https://pypi.org/project/ckanPACKAGE
- https://github.com/advisories/GHSA-446m-hmmm-hm8mADVISORY
Frequently Asked Questions
- What is CVE-2023-32321?
- Ckan remote code execution and private information access via crafted resource ids This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-32321?
- CVE-2023-32321 affects ckan. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-32321 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
PYSEC-2026-312
GHSA-446m-hmmm-hm8m
Related CVEs
- CVE-2026-61447CRITICAL
PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
- CVE-2026-61445CRITICAL
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies