{"id":"CVE-2026-41255","aliases":["CVE-2026-41255","GHSA-mcvf-jxcw-vj73","PYSEC-2026-2418"],"related":[],"kind":"vulnerability","state":"published","title":"CKAN: CSRF exemption primed by anonymous requests","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Views can be marked as exempt from CSRF protection \n\nAccess to the views via tokens or unauthenticated requests marked the endpoint as not requiring CSRF protection. \n\nThe 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. \n\nAn 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).\n\nThis could be leveraged with XSS to perform actions using other user's credentials.\n\n### References\n\n* [Vulnerability report](https://github.com/Shirshaw64p/security-advisories/tree/main/CVE-2026-41255) by @Shirshaw64p (original reporter)","format":"markdown","source":"ghsa"},{"lang":"es","text":"CKAN es un DMS (sistema de gestión de datos) de código abierto para impulsar centros de datos y portales de datos. Antes de 2.10.10 y 2.11.5, el acceso a las vistas a través de tokens o solicitudes no autenticadas marcaba el endpoint como que no requería protección CSRF. El marcado era una variable miembro en flask-wtf.csrf.CSRFProtect(), que se almacenaba como una variable a nivel de módulo en el middleware flask_app. Esta API nunca fue diseñada para cambios a nivel de solicitud, es principalmente un decorador para configuración estática. Una solicitud no autenticada podía alcanzar un endpoint protegido, eximiéndolo de la protección CSRF durante la vida del proceso particular del servidor. (ej. un worker de uwsgi). Esta vulnerabilidad está corregida en 2.10.10 y 2.11.5.","source":"nvd"}],"published":"2026-04-29T20:36:07.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":">= 2.11.0, < 2.11.5","status":"affected"},{"version":"< 2.10.10","status":"affected"}],"vendor":"ckan","product":"ckan","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.10.0","status":"affected","fixed":"2.10.10"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.11.0","status":"affected","fixed":"2.11.5"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.10.10"},{"status":"affected","introduced":"2.11.0","fixed":"2.11.5"}],"vendor":"okfn","product":"ckan","cpe":"cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.10.0","status":"affected","fixed":"2.10.10"},{"type":"ecosystem","introduced":"2.11.0","status":"affected","fixed":"2.11.5"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"pysec"}],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-mcvf-jxcw-vj73","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Shirshaw64p/security-advisories/tree/main/CVE-2026-41255","tags":["vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41255","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://docs.ckan.org/en/2.10/changelog.html#v-2-10-10-2026-04-29","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://docs.ckan.org/en/2.11/changelog.html#v-2-11-5-2026-04-29","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ckan/ckan","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/ckan","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-mcvf-jxcw-vj73","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-14T12:44:10.283Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41255","url":"https://www.cve.org/CVERecord?id=CVE-2026-41255","licence":"CVE Terms of Use","modified":"2026-05-14T12:44:14.133Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mcvf-jxcw-vj73","url":"https://github.com/advisories/GHSA-mcvf-jxcw-vj73","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:10.423Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41255","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41255","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2418","url":"https://osv.dev/vulnerability/PYSEC-2026-2418","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:42.479Z"}],"updatedAt":"2026-11-25T22:59:21.634Z","epss":{"score":0.00124,"percentile":0.02322,"date":"2026-12-01T12:00:22.000Z"}}