CVE-2026-40869: Decidim core Decidim Amendments Can Be Accepted Vulnerability
HIGHCVE-2026-40869 is a HIGH (CVSS 7.5) decidim amendments can be accepted vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Decidim core libraries in the RubyGems ecosystem. The issue involves decidim amendments can be accepted or rejected by anyone. Remediation is available by upgrading affected packages to version 0.31.1, 0.30.5.
CVE-2026-40869 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-40869
To remediate this vulnerability, upgrade all affected Decidim core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade decidim-core to 0.31.1
Upgrade decidim-core to 0.30.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for decidim-core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-40869, inspect your project dependencies for Decidim core:
inspect dependencies for decidim-core
Analyze the terminal output to locate any version of Decidim core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.31.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Decidim core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-40869 Affected Decidim core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
decidim-core
|
RubyGems |
≥ 0.31.0.rc1
< 0.31.1
|
0.31.1
|
|
decidim-core
|
RubyGems |
≥ 0.19.0
< 0.30.5
|
0.30.5
|
References
Frequently Asked Questions
What is CVE-2026-40869?
Which Decidim core versions are affected?
What version fixes CVE-2026-40869?
Is decidim-core affected?
What is the CVSS score of CVE-2026-40869?
What CWE is associated with CVE-2026-40869?
How can I check RubyGems dependencies for CVE-2026-40869?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w5xj-99cg-rccm",
"modified" : "2026-05-29T21:46:09Z",
"published" : "2026-04-14T22:22:58Z",
"aliases" : [ "CVE-2026-40869" ],
"summary" : "Decidim amendments can be accepted or rejected by anyone",
"details" : "### Impact\nThe 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.\n\nThe only check done when accepting or rejecting amendments is whether the amendment reactions are enabled for the component:\nhttps://github.com/decidim/decidim/blob/9d6c3d2efe5a83bb02e095824ff5998d96a75eb7/decidim-core/app/permissions/decidim/permissions.rb#L107\n\nThe 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.\n\n### Patches\n\nNot available\n\n### Workarounds\nDisable amendment reactions for the amendable component (e.g. proposals).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.31.0.rc1"
}, {
"fixed" : "0.31.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.19.0"
}, {
"fixed" : "0.30.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/decidim/decidim/security/advisories/GHSA-w5xj-99cg-rccm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40869"
}, {
"type" : "WEB",
"url" : "https://github.com/decidim/decidim/commit/1b99136a1c7aa02616a0b54a6ab88d12907a57a9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/decidim/decidim"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-40869.yml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-266" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-14T22:22:58Z",
"nvd_published_at" : "2026-04-21T20:17:00Z"
}
}