Decidim is a participatory democracy framework. Starting in version 0.19.0 and prior to versions 0.30.5 and 0.31.1, a 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. Versions 0.30.5 and 0.31.1 fix the issue. As a workaround, disable amendment reactions for the amendable component (e.g. proposals).
CVE-2026-40869 is a privilege escalation vulnerability in Decidim participatory democracy framework affecting versions 0.19.0 through 0.30.4 and 0.31.0. Any authenticated user can arbitrarily accept or reject amendments to proposals, potentially elevating themselves to coauthor status. This undermines the integrity of democratic participation processes and proposal management in affected instances.
IMMEDIATE ACTIONS:
1. Identify all Decidim instances in your organization running versions 0.19.0 through 0.30.4 or 0.31.0
2. As an immediate workaround, disable amendment reactions for amendable components (proposals) in Decidim configuration
3. Review audit logs for unauthorized amendment acceptances/rejections and coauthor elevation activities
4. Restrict amendment feature access to trusted administrators only until patching is complete
PATCHING GUIDANCE:
1. Upgrade Decidim to version 0.30.5 or 0.31.1 or later immediately
2. Test patches in staging environment before production deployment
3. Verify amendment permission controls are properly enforced post-upgrade
COMPENSATING CONTROLS:
1. Implement role-based access control (RBAC) limiting amendment acceptance to proposal creators and administrators
2. Enable comprehensive audit logging for all amendment-related actions
3. Implement approval workflows requiring administrator sign-off on amendments
4. Monitor for suspicious amendment acceptance patterns
DETECTION RULES:
1. Alert on amendment acceptances by users who are not proposal creators or administrators
2. Monitor for rapid sequences of amendment acceptances by single users
3. Track coauthor elevation events and correlate with amendment acceptance activities
4. Flag proposals with unexpected coauthor additions
الإجراءات الفورية:
1. حدد جميع حالات Decidim في مؤسستك التي تعمل بالإصدارات من 0.19.0 إلى 0.30.4 أو 0.31.0
2. كحل مؤقت فوري، قم بتعطيل ردود فعل التعديلات للمكونات القابلة للتعديل (المقترحات) في إعدادات Decidim
3. راجع سجلات التدقيق للقبول/الرفض غير المصرح به للتعديلات وأنشطة تصعيد المؤلف المشارك
4. قيد الوصول إلى ميزة التعديل للمسؤولين الموثوقين فقط حتى اكتمال التصحيح
إرشادات التصحيح:
1. قم بترقية Decidim إلى الإصدار 0.30.5 أو 0.31.1 أو أحدث على الفور
2. اختبر التصحيحات في بيئة التجريب قبل نشر الإنتاج
3. تحقق من فرض عناصر تحكم إذن التعديل بشكل صحيح بعد الترقية
عناصر التحكم التعويضية:
1. تنفيذ التحكم في الوصول القائم على الأدوار (RBAC) يقيد قبول التعديلات لمنشئي المقترحات والمسؤولين
2. تفعيل تسجيل التدقيق الشامل لجميع الإجراءات المتعلقة بالتعديلات
3. تنفيذ سير عمل الموافقة يتطلب موافقة المسؤول على التعديلات
4. مراقبة أنماط قبول التعديلات المريبة
قواعد الكشف:
1. تنبيه عند قبول التعديلات من قبل المستخدمين الذين ليسوا منشئي المقترحات أو المسؤولين
2. مراقبة التسلسلات السريعة لقبول التعديلات من قبل مستخدمين واحدين
3. تتبع أحداث تصعيد المؤلف المشارك والربط مع أنشطة قبول التعديلات
4. وضع علامة على المقترحات التي تحتوي على إضافات مؤلف مشارك غير متوقعة