What’s Vulnerable › Vulnerabilities
CVE-2026-41255: CKAN: CSRF exemption primed by anonymous requests
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-13 · updated 2026-06-17
- Weakness: CWE-352
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.
Affected products
- ckan: before 2.10.10; from 2.11.0 before 2.11.5 — fixed in 2.10.10, 2.11.5
How to fix
Upgrade to a fixed version: ckan 2.10.10, 2.11.5. Check the vendor advisory for mitigations.
References
- https://github.com/Shirshaw64p/security-advisories/tree/main/CVE-2026-41255
- https://github.com/ckan/ckan/security/advisories/GHSA-mcvf-jxcw-vj73
- https://github.com/ckan/ckan/security/advisories/GHSA-mcvf-jxcw-vj73
Get alerted when CVE-2026-41255 or the next vulnerability affects your stack