Vulnerability · Published May 13, 2026 · Assigned by GitHub_M
CVE-2026-41255CKAN: CSRF exemption primed by anonymous requests
Medium 6.1
In plain English
A medium-severity cross-site request forgery in ckan from ckan. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | ckan | 2.10.10 | GHSA-mcvf-jxcw-vj73 |
| PyPI | ckan | 2.11.5 | GHSA-mcvf-jxcw-vj73 |
| PyPI | ckan | 2.10.10, 2.11.5 | PYSEC-2026-2418 |
Affected products (as reported)
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/ckan/ckan/security/advisories/GHSA-mcvf-jxcw-vj73 x_refsource_CONFIRM
- https://github.com/Shirshaw64p/security-advisories/tree/main/CVE-2026-41255 x_refsource_MISC