Advisory

GHSA-w5xj-99cg-rccm

Also known as: CVE-2026-40869

Summary

Decidim amendments can be accepted or rejected by anyone

Details

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).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-14 22:22 UTC
Modified
2026-05-29 22:00 UTC

Affected packages and fixes

decidim-core

RubyGems · All systems

Affected

  • introduced 0.31.0.rc1, fixed 0.31.1 (ecosystem)

Fixed versions

0.31.1

Fix

The export has no generic command for this ecosystem.

decidim-core

RubyGems · All systems

Affected

  • introduced 0.19.0, fixed 0.30.5 (ecosystem)

Fixed versions

0.30.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences