{"id":"CVE-2026-45086","aliases":["GHSA-vq6j-hj8w-7v39"],"url":"https://o3.security/vulnerability/CVE-2026-45086","summary":"Decidim: Forms admin question editor lacks authorization","details":"## 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/).","published":"2026-07-31T21:44:11.803Z","modified":"2026-09-10T03:30:28.765923346Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},"epss":{"score":0.00171,"percentile":0.06861,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"decidim-demographics","fixedVersion":"0.31.5"},{"ecosystem":"RubyGems","name":"decidim-demographics","fixedVersion":"0.32.0"}],"fix":{"url":"https://github.com/decidim/decidim/commit/fa52fb631a0788b30895d1312728a888607d81b5","label":"decidim/decidim@fa52fb6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45086.json"},{"type":"ADVISORY","url":"https://github.com/decidim/decidim/security/advisories/GHSA-vq6j-hj8w-7v39"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45086"},{"type":"FIX","url":"https://github.com/decidim/decidim/commit/fa52fb631a0788b30895d1312728a888607d81b5"},{"type":"FIX","url":"https://github.com/decidim/decidim/commit/fc89301c6697c6101a7aed3fced3fa8311048cb9"},{"type":"WEB","url":"https://github.com/decidim/decidim/pull/16665"},{"type":"PACKAGE","url":"https://github.com/decidim/decidim"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T03:30:28.765923346Z"}}