GitHub Advisoryadvisory · PyPI

GHSA-mcvf-jxcw-vj73 CKAN has CSRF exemption primed by anonymous requests

MEDIUM Published 2026-04-29 Modified 2026-05-14 Official page ↗
Aliases
CVE-2026-41255
Ecosystem
PyPI
Packages
ckan
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-352
Reviewed
2026-04-29

Affected packages

• PyPI ckan: >= 2.10.0, < 2.10.10 → fixed in 2.10.10 • PyPI ckan: >= 2.11.0, < 2.11.5 → fixed in 2.11.5

Description

Views can be marked as exempt from CSRF protection 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. Thsi 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 could be leveraged with XSS to perform actions using other user's credentials. References • Vulnerability report by @Shirshaw64p (original reporter)

Related

Alias · CVE (1)

  • CVE-2026-41255 CKAN is an open-source DMS (data management system) for powering data hubs and data portals. vulnerability

Weakness · CWE (1)

  • CWE-352 Cross-Site Request Forgery weakness

References