Skip to content

CVE-2026-41255 CKAN: CSRF exemption primed by anonymous requests

MediumCVSS 6.1 EPSS 0.12% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, Access to the views via tokens or unauthenticated requests marked the endpoint as not requiring CSRF protection. The marking was a member variable in flask-wtf.csrf.CSRFProtect(), which was stored as a module level variable in the flask_app middleware. This API was never intended for request level changes, it is primarily a decorator for static configuration. An unauthenticated request could hit a protected endpoint, exempting it from CSRF protection for the life of the particular server process. (e.g. one worker of uwsgi). This vulnerability is fixed in 2.10.10 and 2.11.5.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
okfn ckan < 2.10.10; >= 2.11.0, < 2.11.5 2.10.10, 2.11.5 Fixed
pypi ckan(PyPI) = 2.10.0; = 2.10.1; = 2.10.3; = 2.10.4 +13 more 2.10.10, 2.11.5 Fixed
ckan = < 2.10.10; = >= 2.11.0, < 2.11.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ckan = >= 2.11.0, < 2.11.5 No fix listed
ckan = < 2.10.10 No fix listed
pypi ckan(PyPI) >= 2.10.0, < 2.10.10 2.10.10
pypi ckan(PyPI) = 2.10.0 No fix listed
pypi ckan(PyPI) = 2.10.1 No fix listed
pypi ckan(PyPI) = 2.10.3 No fix listed
pypi ckan(PyPI) = 2.10.4 No fix listed
pypi ckan(PyPI) = 2.10.5 No fix listed
pypi ckan(PyPI) = 2.10.6 No fix listed
pypi ckan(PyPI) = 2.10.7 No fix listed
pypi ckan(PyPI) = 2.10.8 No fix listed
pypi ckan(PyPI) = 2.10.9 No fix listed
pypi ckan(PyPI) >= 2.11.0, < 2.11.5 2.11.5
pypi ckan(PyPI) = 2.11.0 No fix listed
pypi ckan(PyPI) = 2.11.1 No fix listed
pypi ckan(PyPI) = 2.11.2 No fix listed
pypi ckan(PyPI) = 2.11.3 No fix listed
pypi ckan(PyPI) = 2.11.4 No fix listed
pypi ckan(PyPI) >= 2.11.0, <= 2.11.4 No fix listed
okfn ckan < 2.10.10 2.10.10
okfn ckan >= 2.11.0, < 2.11.5 2.11.5

References