CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-40870

High
Published: Translated: NVD NIST

Summary

Decidim to framework do demokracji partycypacyjnej. W wersjach od 0.0.1 do 0.30.4 oraz 0.31.0 pole `commentable` w API umożliwia dostęp do wszystkich zasobów komentowalnych bez sprawdzania uprawnień. Wersje 0.30.5 i 0.31.1 naprawiają ten problem.

Risk Assessment

Wszystkie instancje Decidim, które nie zabezpieczyły punktu końcowego `/api`, są narażone na nieautoryzowany dostęp do zasobów. Domyślna konfiguracja udostępnia ten punkt końcowy publicznie, co zwiększa ryzyko wycieku danych.

Recommendation

Zaleca się ograniczenie dostępu do punktu końcowego `/api` tylko dla uwierzytelnionych użytkowników, co można osiągnąć poprzez niestandardowy kod lub zainstalowanie modułu `Decidim::Apiauth`. Alternatywnie, można całkowicie zablokować ruch do punktu końcowego `/api`.

Related vulnerabilities

Original NVD description (English source)

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 pub

Vulnerability data from NVD (NIST) · CISA KEV · EPSS