{"cve":"CVE-2023-32321","nvd":{"published":"2023-05-26T23:15:18.010","modified":"2026-06-17T05:58:34.020","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-20"],"references":["https://github.com/ckan/ckan/blob/2a6080e61d5601fa0e2a0317afd6a8e9b7abf6dd/CHANGELOG.rst","https://github.com/ckan/ckan/security/advisories/GHSA-446m-hmmm-hm8m","https://github.com/ckan/ckan/blob/2a6080e61d5601fa0e2a0317afd6a8e9b7abf6dd/CHANGELOG.rst","https://github.com/ckan/ckan/security/advisories/GHSA-446m-hmmm-hm8m"],"products":["okfn:ckan"],"source":"nvd","synced_at":"2026-10-19T21:38:24.161619714+00:00"},"epss":{"cve":"CVE-2023-32321","score":0.01684,"percentile":0.76997,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-446m-hmmm-hm8m","url":"https://osv.dev/vulnerability/GHSA-446m-hmmm-hm8m","summary":"Ckan remote code execution and private information access via crafted resource ids","modified":"2026-10-27T16:45:04.608844554Z","packages":[{"ecosystem":"PyPI","name":"ckan","purl":"pkg:pypi/ckan","ranges":["<2.9.9"],"fixed":["2.9.9"]},{"ecosystem":"PyPI","name":"ckan","purl":"pkg:pypi/ckan","ranges":[">=2.10.0 <2.10.1"],"fixed":["2.10.1"]}]},{"id":"PYSEC-2026-312","url":"https://osv.dev/vulnerability/PYSEC-2026-312","summary":"Ckan remote code execution and private information access via crafted resource ids","modified":"2026-07-02T13:00:06.553571074Z","packages":[{"ecosystem":"PyPI","name":"ckan","purl":"pkg:pypi/ckan","ranges":["<2.9.9",">=2.10.0 <2.10.1"],"fixed":["2.9.9","2.10.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}