CVE-2026-40869 — Vulnerability in decidim-core — CVE Details
Decidim amendments can be accepted or rejected by anyone
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.33%). Schedule for your next planned update.
Does your project use an affected decidim-core version?
Paste your Gemfile.lock to check it for CVE-2026-40869 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.
Summary
Impact
The vulnerability allows any registered and authenticated user to accept or reject any amendments. The impact is on any users who have created proposals where the amendments feature is enabled. This also elevates the user accepting the amendment as the author of the original proposal as people amending proposals are provided coauthorship on the coauthorable resources.
The only check done when accepting or rejecting amendments is whether the amendment reactions are enabled for the component: https://github.com/decidim/decidim/blob/9d6c3d2efe5a83bb02e095824ff5998d96a75eb7/decidim-core/app/permissions/decidim/permissions.rb#L107
The permission checks have been changed at 1b99136 which was introduced in released version 0.19.0. I have not investigated whether prior versions are also affected.
Patches
Not available
Workarounds
Disable amendment reactions for the amendable component (e.g. proposals).
Advisory Timeline
- First published April 14, 2026 (226 days ago).
- Last revised May 29, 2026 — 45 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install decidim-core -v 0.30.5
gem install decidim-core -v 0.31.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| decidim-core RubyGems · Affected: 0.19.0, 0.19.1, 0.20.0, 0.20.1 (+77 more) | 0.30.5 |
| decidim-core RubyGems · Affected: 0.31.0, 0.31.0.rc1, 0.31.0.rc2 | 0.31.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-266
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/decidim/decidim/security/advisories/GHSA-w5xj-99cg-rccmWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40869ADVISORY
- https://github.com/decidim/decidim/commit/1b99136a1c7aa02616a0b54a6ab88d12907a57a9WEB
- https://github.com/decidim/decidimPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-40869.ymlWEB
Frequently Asked Questions
- What is CVE-2026-40869?
- Decidim amendments can be accepted or rejected by anyone. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-40869?
- CVE-2026-40869 affects decidim-core. 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-40869 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 18.2% 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
Related CVEs
- CVE-2026-23891CRITICAL
Decidim has a cross-site scripting (XSS) in user name
- CVE-2025-65017HIGH
Decidim's private data exports can lead to data leaks
- CVE-2023-34089HIGH
Decidim Cross-site Scripting vulnerability in the processes filter
- CVE-2026-45573MEDIUM
Decidim: Push subscriptions can be abused for server-side requests
- CVE-2023-32693MEDIUM
Decidim Cross-site Scripting vulnerability in the external link redirections
- CVE-2026-45572MEDIUM
Decidim: HTML content blocks allow stored script execution
- CVE-2026-45377MEDIUM
Decidim: Private exports can be downloaded through reusable links
- CVE-2023-51447MEDIUM
Cross-site scripting (XSS) in the dynamic file uploads