Medium, CVSS 5.4RubyGemsPublished
Decidim: Forms admin question editor lacks authorization
CVE-2026-45086 · GHSA-vq6j-hj8w-7v39
- Affected
- RubyGems decidim-demographics >= 0.31.0, < 0.31.5; >= 0.32.0.rc1, < 0.32.0
- Fixed in
- 0.31.50.32.0· Vendor fix available
- Issue
- A participant can load the demographics questionnaire admin editor and make changes. Technical description 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. Reproduction steps: Step 1. Sign in as a normal participant: Open http://localhost:3000/users/signin. Step 2. Request the admin-only editor directly. Open http://localhost:3000/admin/demographics/questions/editquestions in the same browser. Step 3. Add another question: <img width="1522" height="1174" alt="decidim-questions-01" src="https://github.com/user-attachments/assets/923f85d4-0e2f-4511-a9f3-a92f74dbf1d8" / Note that access was denied when attempting to see question responses or settings. Impact - Low-privilege users can access…
Recommended action: Upgrade to 0.32.0 or 0.31.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.