
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-41255 is a Cross-Site Request Forgery (CSRF) protection bypass vulnerability in CKAN, the open-source data management platform maintained by the Open Knowledge Foundation (okfn). The flaw allows unauthenticated requests to permanently exempt protected endpoints from CSRF validation for the lifetime of a server worker process, enabling subsequent CSRF attacks against authenticated users. It affects CKAN versions >= 2.10.0 and < 2.10.10, and >= 2.11.0 and <= 2.11.4. Disclosed on April 29, 2026, it carries a CVSS v3.1 base score of 6.1 (Medium) (GitHub Advisory, CKAN Advisory).
The root cause (CWE-352) lies in how CKAN's Flask middleware handles CSRF exemptions at runtime. The flask-wtf.csrf.CSRFProtect() object stores exemption state as a module-level variable in ckan/config/middleware/flask_app.py; this API was designed for static, decorator-based configuration, not per-request mutation. When an unauthenticated or token-authenticated request reaches a protected endpoint (e.g., user.sysadmin in ckan/views/user.py), CKAN's anonymous fallback path calls csrf.exempt() on the resolved view, writing the exemption into global application state. This exemption then persists for all subsequent requests handled by the same worker process (e.g., a single uWSGI worker), meaning any authenticated user hitting that endpoint afterward is no longer protected by CSRF validation. The vulnerability was discovered and reported by Shirsendu Mondal (University of North Carolina at Pembroke) (GitHub Advisory, Reporter Advisory).
Successful exploitation allows an attacker to bypass CSRF protections on sensitive POST endpoints for the duration of a server worker's lifetime, enabling state-changing actions to be performed using an authenticated victim's session credentials without their knowledge. The demonstrated impact includes privilege escalation (e.g., granting sysadmin rights) and other account-impacting actions when combined with an XSS delivery mechanism. Confidentiality and integrity are both partially compromised, while availability is unaffected (GitHub Advisory, Reporter Advisory).
No public exploit code or in-the-wild exploitation has been reported as of the time of writing. The EPSS score is approximately 0.014% (0th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction (a victim must visit a page or trigger a request) and is most practical when chained with an XSS vulnerability to deliver the CSRF payload (GitHub Advisory, Feedly).
user.sysadmin view). This triggers CKAN's anonymous fallback path, which calls csrf.exempt() on the view and stores the exemption in global application state for that worker process./user/sysadmin or similar admin views, particularly from unexpected IP addresses.CKAN has released patched versions 2.10.10 and 2.11.5, both published on April 29, 2026. Administrators should upgrade to these versions immediately. As a temporary workaround, restarting worker processes (e.g., uWSGI workers) clears the in-memory exemption state, though this does not prevent re-priming. Restricting unauthenticated access to sensitive endpoints at the network or reverse-proxy level can reduce the attack surface until patching is complete (GitHub Advisory, CKAN 2.10 Changelog, CKAN 2.11 Changelog).
A technical blog post analyzing the vulnerability was published at infinitsec.net shortly after disclosure, titled "CVE-2026-41255: CKAN CSRF Exemption Primed by Anonymous Requests," providing additional context on the attack mechanics (Feedly). The original reporter, Shirsendu Mondal, published a detailed advisory repository including technical analysis, impact assessment, and remediation guidance (Reporter Advisory). No significant broader media coverage or notable vendor statements beyond the official CKAN security advisory have been identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."