Quick answers
- Is CVE-2026-40869 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40869 being exploited in the wild.
- How severe is CVE-2026-40869?
- High severity, with a CVSS score of 7.5, published 21 April 2026.
- Which products and versions are affected?
- decidim-core (RubyGems) ECOSYSTEM:introduced=0.31.0.rc1,fixed=0.31.1.
- Is there a fix for CVE-2026-40869?
- Yes. decidim-core (RubyGems): upgrade to 0.31.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-40869 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-40869?
- Check whether you run Decidim or decidim-core (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- decidim-core (RubyGems): upgrade to 0.31.1 or later
bundle update decidim-core
Technical details
An incorrect privilege assignment (CWE-266) in Decidim's permission logic allows any authenticated user to perform 'accept' or 'reject' actions on amendments. The root cause is located in `decidim-core/app/permissions/decidim/permissions.rb`, where the system only checks if amendment reactions are enabled for a component rather than verifying if the user has the authority to manage the specific amendment. Exploitation allows an attacker to modify the status of any amendment and gain co-authorship status on the associated resource. The issue was introduced in version 0.19.0 and is fixed in versions 0.30.5 and 0.31.1.
Affected products
- Decidim decidim-core >= 0.19.0, < 0.30.5; >= 0.31.0.rc1, < 0.31.1
Identifiers
- CVE-2026-40869
- GHSA-w5xj-99cg-rccm
Timeline
- 2019-06-17: other: Vulnerability introduced in commit 1b99136 (v0.19.0)
- 2026-04-13: disclosed
- 2026-04-14: advisory
- 2026-04-21: other: NVD published CVE-2026-40869
References
- https://github.com/decidim/decidim/security/advisories/GHSA-w5xj-99cg-rccm
- https://github.com/decidim/decidim/commit/1b99136a1c7aa02616a0b54a6ab88d12907a57a9
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-40869.yml
- https://api.github.com/repos/decidim/decidim/security-advisories/GHSA-w5xj-99cg-rccm