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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.29%). Schedule for your next planned update.

Does your project use an affected decidim-demographics version?

Paste your Gemfile.lock to check it for CVE-2026-45086 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Gemfile.lock

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:

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 and made by Radically Open Security against Decidim financed by NGI.

Advisory Timeline

  • First published July 13, 2026 (136 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: RubyGems (1).

PackageFixed In
decidim-demographics RubyGems · Affected: 0.31.0, 0.31.1, 0.31.2, 0.31.3 (+1 more)0.31.5
decidim-demographics RubyGems · Affected: 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. It has a 0.3% probability of exploitation within 30 days (EPSS score). 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 the impact is limited.

EPSS Score (30-day exploit probability)
0.29%
EPSS percentile: 14.5

This is a below-median EPSS score — only 14.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-vq6j-hj8w-7v39

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock