Loading...
Skip to main content

CVE-2026-45086 — Vulnerability in decidim-demographics — CVE Details

MEDIUM

Decidim: Forms admin question editor lacks authorization

Published July 13, 2026Updated July 13, 2026Source: osv

Summary

## Description 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/sign_in`. Step 2. Request the admin-only editor directly. Open `http://localhost:3000/admin/demographics/questions/edit_questions` 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 questionnaire-admin interfaces. - They can read question-management surfaces that should remain limited to questionnaire managers. ### Patches See https://github.com/decidim/decidim/pull/16665 ### Workarounds Disable the "decidim-demographics" module ### Reference OWASP A01:2021 Broken Access Control ### Credits This 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/).

Advisory Timeline

  • First published July 13, 2026 (91 days ago).
  • Last revised July 13, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update decidim-demographics to 0.31.5 or later
gem install decidim-demographics -v 0.31.5
Bundler
Update decidim-demographics to 0.32.0 or later
gem install decidim-demographics -v 0.32.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
decidim-demographics
rubygems
0.31.0, 0.31.1, 0.31.2, 0.31.3 (+1 more)0.31.5
decidim-demographics
rubygems
0.32.0.rc1, 0.32.0.rc2, 0.32.0.rc30.32.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Frequently Asked Questions

What is CVE-2026-45086?
Decidim: Forms admin question editor lacks authorization This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.4/10).
How do I check if my project is affected by CVE-2026-45086?
CVE-2026-45086 affects decidim-demographics. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45086 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.4

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-vq6j-hj8w-7v39

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies