Home / decidim / decidim / CVE-2026-40870
CVE-2026-40870: is it exploited, and which versions of decidim are affected and fixed?
CVE-2026-40870 is a missing authorization vulnerability in decidim. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: decidim > 0.31.0.rc1, < 0.31.1 and decidim >= 0.0.1, < 0.30.5 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-40870?
Decidim's comments API allows access to all commentable resources
Decidim is a participatory democracy framework. Starting in version 0.0.1 and prior to versions 0.30.5 and 0.31.1, the root level `commentable` field in the API allows access to all commentable resources within the platform, without any permission checks. All Decidim instances are impacted that have not secured the `/api` endpoint. The `/api` endpoint is publicly available with the default configuration. Versions 0.30.5 and 0.31.1 fix the issue. As a workaround, limit the scope to only authenticated users by limiting access to the `/api` endpoint. This would require custom code or installing the 3rd party module `Decidim::Apiauth`. With custom code, the `/api` endpoint can be limited to only authenticated users. The same configuration can be also used without the `allow` statements to disable all traffic to the the `/api` endpoint. When considering a workaround and the seriousness of the vulnerability, please consider the nature of the platform. If the platform is primarily serving public data, this vulnerability is not serious by its nature. If the platform is protecting some resources, e.g. inside private participation spaces, the vulnerability may expose some data to the attacker that is not meant public. For those who have enabled the organization setting "Force users to authenticate before access organization", the scope of this vulnerability is limited to the users who are allowed to log in to the Decidim platform. This setting was introduced in version 0.19.0 and it was applied to the `/api` endpoint in version 0.22.0.
From the CVE record by GitHub_M, last updated April 21, 2026, 19:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| decidim | decidim | > 0.31.0.rc1, < 0.31.1 >= 0.0.1, < 0.30.5 |
As the CVE record by GitHub_M states it, last updated April 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-40870?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40870 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 21, 2026)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-862 Missing Authorization
Where are the vendor advisories and references?
- https://github.com/decidim/decidim/security/advisories/GHSA-ghmh-q25g-gxxx x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 15, 2026
- Published
- April 21, 2026, 19:06 UTC
- CVE record updated
- April 21, 2026, 19:52 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:45 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect decidim?
- Sep 15, 2026CVE-2026-44282 decidim: cross-site scripting (XSS)
- Aug 6, 2026CVE-2026-45378 decidim: information disclosure
- Aug 6, 2026CVE-2026-45573 decidim: server-side request forgery (SSRF)
- Aug 6, 2026CVE-2026-45572 decidim: code injection (remote code execution)
- Aug 6, 2026CVE-2026-45415 decidim: missing authorization
- Aug 6, 2026CVE-2026-45414 decidim: authorization bypass through a user-controlled key (IDOR)
- Jul 31, 2026CVE-2026-45377 decidim: information disclosure
- Jul 31, 2026CVE-2026-45376 decidim: SQL injection
Questions about CVE-2026-40870
Is CVE-2026-40870 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of decidim are affected by CVE-2026-40870?
decidim > 0.31.0.rc1, < 0.31.1 and decidim >= 0.0.1, < 0.30.5, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-40870?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-40870?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40870?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.