API Access Vulnerability in Decidim Framework Affects Public Resources
CVE-2026-40870
What is CVE-2026-40870?
The Decidim framework contains an improper access control vulnerability in its API that allows unsecured access to the root-level commentable field. This flaw permits unauthenticated users to access all commentable resources, putting potentially sensitive information at risk, particularly in non-public environments. If the API endpoint is left unsecured, instances running vulnerable versions of Decidim may expose data to unauthorized users. The remediation involves updating to versions 0.30.5 or 0.31.1, which address this vulnerability. Alternatively, securing the API with authentication can limit exposure, although this may require custom code or a third-party module. Organizations are encouraged to implement these fixes promptly to safeguard their platforms.
Affected Version(s)
decidim > 0.31.0.rc1, < 0.31.1 > 0.31.0.rc1, 0.31.1
decidim >= 0.0.1, < 0.30.5 < 0.0.1, 0.30.5
