GHSA-w5xj-99cg-rccm
Decidim amendments can be accepted or rejected by anyone
Quick fix
GHSA-w5xj-99cg-rccm — decidim-core: upgrade to the fixed version with the command below.
bundle update decidim-coreDetails
### 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).
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/decidim/decidim/security/advisories/GHSA-w5xj-99cg-rccm[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-40869[ADVISORY]
- https://github.com/decidim/decidim/commit/1b99136a1c7aa02616a0b54a6ab88d12907a57a9[WEB]
- https://github.com/decidim/decidim[PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-40869.yml[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:gem/decidim-core"]}'