{"id":"CVE-2026-45086","aliases":["CVE-2026-45086","GHSA-vq6j-hj8w-7v39"],"related":[],"kind":"vulnerability","state":"published","title":"Decidim: Forms admin question editor lacks authorization","summary":"Decidim is a participatory democracy framework. From 0.31.1 before 0.31.5 and in 0.32.0.rc1 before 0.32.0.rc2, a participant can directly load /admin/demographics/questions/edit_questions and reach the demographics questionnaire editor without the required administrator authorization. The demographics questionnaire editor should require admin access, but the route under /admin/demographics/questions renders the editor interface without checking whether the caller is an admin. A normal participant can load the page and see the live update form action, which proves the protected interface is reachable. This issue is fixed in versions 0.31.5 and 0.32.0.rc2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Decidim is a participatory democracy framework. From 0.31.1 before 0.31.5 and in 0.32.0.rc1 before 0.32.0.rc2, a participant can directly load /admin/demographics/questions/edit_questions and reach the demographics questionnaire editor without the required administrator authorization. The demographics questionnaire editor should require admin access, but the route under /admin/demographics/questions renders the editor interface without checking whether the caller is an admin. A normal participant can load the page and see the live update form action, which proves the protected interface is reachable. This issue is fixed in versions 0.31.5 and 0.32.0.rc2.","source":"cvelist"},{"lang":"en","text":"## Description\n\nA participant can load the demographics questionnaire admin editor and make changes.\n\n## Technical description\n\nThe demographics questionnaire editor should require admin access, but the route under `/admin/demographics/questions` renders the editor interface without checking whether the caller is an admin. A normal participant can load the page and see the live update form action, which proves the protected interface is reachable.\n\nReproduction steps:\n\nStep 1. Sign in as a normal participant: Open `http://localhost:3000/users/sign_in`.\nStep 2. Request the admin-only editor directly. Open `http://localhost:3000/admin/demographics/questions/edit_questions` in the same browser.\nStep 3. Add another question:\n\n<img width=\"1522\" height=\"1174\" alt=\"decidim-questions-01\" src=\"https://github.com/user-attachments/assets/923f85d4-0e2f-4511-a9f3-a92f74dbf1d8\" />\n\nNote that access was denied when attempting to see question responses or settings.\n\n### Impact\n\n- Low-privilege users can access questionnaire-admin interfaces.\n- They can read question-management surfaces that should remain limited to questionnaire managers.\n \n### Patches\n\nSee https://github.com/decidim/decidim/pull/16665 \n\n### Workarounds\n\nDisable the \"decidim-demographics\" module \n\n### Reference\n\nOWASP A01:2021 Broken Access Control\n\n### Credits\n\nThis issue was discovered in a security audit organized by the [Decidim Association](https://decidim.org) and made by [Radically Open Security](https://www.radicallyopensecurity.com/) against Decidim financed by [NGI](https://ngi.eu/).","format":"markdown","source":"ghsa"}],"published":"2026-07-13T16:51:05.000Z","modified":"2026-09-08T20:51:43.490Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-284","CWE-862"],"affected":[{"ranges":[{"version":">= 0.31.1, < 0.31.5","status":"affected"},{"version":">= 0.32.0.rc1, < 0.32.0.rc2","status":"affected"}],"vendor":"decidim","product":"decidim","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.31.0","status":"affected","fixed":"0.31.5"}],"ecosystem":"RubyGems","package":"decidim-demographics","purl":"pkg:gem/decidim-demographics","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.32.0.rc1","status":"affected","fixed":"0.32.0"}],"ecosystem":"RubyGems","package":"decidim-demographics","purl":"pkg:gem/decidim-demographics","source":"ghsa"}],"references":[{"url":"https://github.com/decidim/decidim/security/advisories/GHSA-vq6j-hj8w-7v39","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/decidim/decidim/commit/fa52fb631a0788b30895d1312728a888607d81b5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/decidim/decidim/commit/fc89301c6697c6101a7aed3fced3fa8311048cb9","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/decidim/decidim/pull/16665","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/decidim/decidim","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-03T17:16:02.018Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45086","url":"https://www.cve.org/CVERecord?id=CVE-2026-45086","licence":"CVE Terms of Use","modified":"2026-08-03T17:16:23.640Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vq6j-hj8w-7v39","url":"https://github.com/advisories/GHSA-vq6j-hj8w-7v39","licence":"CC-BY-4.0","modified":"2026-07-13T17:11:53.826Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45086","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45086","licence":"Public domain","modified":"2026-09-08T20:51:43.490Z"}],"updatedAt":"2026-11-25T22:59:30.742Z","epss":{"score":0.0021,"percentile":0.11907,"date":"2026-12-01T12:00:22.000Z"}}