CVE-2026-40869: Decidim amendments can be accepted or rejected by anyone
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.
Published Apr 14, 2026 · Updated May 29, 2026
Affected packages
decidim-core
- Ecosystem
- RubyGems
- Affected
- >= 0.31.0.rc1, < 0.31.1
- Fixed in
- 0.31.1
- Check
bundle info decidim-core
decidim-core
- Ecosystem
- RubyGems
- Affected
- >= 0.19.0, < 0.30.5
- Fixed in
- 0.30.5
- Check
bundle info decidim-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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).
References
- https://github.com/decidim/decidim/security/advisories/GHSA-w5xj-99cg-rccm
- https://github.com/decidim/decidim/commit/1b99136a1c7aa02616a0b54a6ab88d12907a57a9
- https://nvd.nist.gov/vuln/detail/CVE-2026-40869
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-40869.yml
- https://github.com/advisories/GHSA-w5xj-99cg-rccm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More RubyGems vulnerabilities
All RubyGems entriesCVE-2026-45377
Decidim: Private exports can be downloaded through reusable links
medium6.5Jul 13, 2026CVE-2026-45572
Decidim: HTML content blocks allow stored script execution
medium4.8Jul 13, 2026CVE-2026-45573
Decidim: Push subscriptions can be abused for server-side requests
medium6.4Jul 13, 2026CVE-2026-23891
Decidim has a cross-site scripting (XSS) in user name
critical8.7Apr 13, 2026CVE-2025-65017
Decidim's private data exports can lead to data leaks
high8.2Feb 3, 2026CVE-2023-51447
Cross-site scripting (XSS) in the dynamic file uploads
medium6.3Feb 20, 2024
