MEDIUM4.5
PYSEC-2026-1249
Out of memory error when submitting the dataset form with a specially-crafted field
Quick fix
PYSEC-2026-1249 — ckan: upgrade to the fixed version with the command below.
pip install --upgrade 'ckan>=2.9.10'Details
### Impact
When submitting a POST request to the `/dataset/new` endpoint (including either the auth cookie or the `Authorization` header) with a specially-crafted field, an attacker can create an out-of-memory error in the hosting server.
To trigger this error the user needs to have permissions to create or edit datasets.
### Patches
This vulnerability has been patched in CKAN 2.10.3 and 2.9.10
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/ckan/ckan/security/advisories/GHSA-7fgc-89cx-w8j5[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-50248[ADVISORY]
- https://github.com/ckan/ckan/commit/bd02018b65c5b81d7ede195d00d0fcbac3aa33be[WEB]
- https://github.com/ckan/ckan[PACKAGE]
- https://pypi.org/project/ckan[PACKAGE]
- https://github.com/advisories/GHSA-7fgc-89cx-w8j5[ADVISORY]