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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-29T20:36:07.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-mcvf-jxcw-vj73, PYSEC-2026-2418
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ckan ckan: >= 2.11.0, < 2.11.5; < 2.10.10
- ckan (PyPI): from 2.10.0 before 2.10.10; from 2.11.0 before 2.11.5
- okfn ckan: before 2.10.10; from 2.11.0 before 2.11.5

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `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> (exploit, vendor-advisory, web)
- <https://github.com/Shirshaw64p/security-advisories/tree/main/CVE-2026-41255> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41255> (advisory)
- <https://docs.ckan.org/en/2.10/changelog.html#v-2-10-10-2026-04-29> (web)
- <https://docs.ckan.org/en/2.11/changelog.html#v-2-11-5-2026-04-29> (web)
- <https://github.com/ckan/ckan> (package)
- <https://pypi.org/project/ckan> (package)
- <https://github.com/advisories/GHSA-mcvf-jxcw-vj73> (advisory)

## Sources

- CVE List: [CVE-2026-41255](https://www.cve.org/CVERecord?id=CVE-2026-41255), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-mcvf-jxcw-vj73](https://github.com/advisories/GHSA-mcvf-jxcw-vj73), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-41255](https://nvd.nist.gov/vuln/detail/CVE-2026-41255), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-2418](https://osv.dev/vulnerability/PYSEC-2026-2418), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-41255 · Whole record: https://cve.day/CVE-2026-41255.json · Rebuilt by cve.day 2026-11-25T22:59:21.634Z
