Decidim: Admin user search allows SQL injection through similarity-based sorting
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, the GET /admin/organization/users search interpolates params[:term] into raw Arel.sql ORDER BY similarity expressions before sanitization, allowing an authenticated organization administrator to execute blind PostgreSQL expressions and infer data through timing differences. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| decidim | decidim | before 0.30.9; 0.31.0.rc1 to before 0.31.5; 0.32.0.rc1 to before 0.32.0 | 0.30.9, 0.31.5, 0.32.0 | Patch available | CNA |
| — | decidim-admin (RubyGems) | before 0.30.9 | 0.30.9 | Patch available | GHSA-jvqq-cvh4-xm37 |
| — | decidim-admin (RubyGems) | 0.31.0.rc1 to before 0.31.5 | 0.31.5 | Patch available | GHSA-jvqq-cvh4-xm37 |
| — | decidim-admin (RubyGems) | 0.32.0.rc1 to before 0.32.0 | 0.32.0 | Patch available | GHSA-jvqq-cvh4-xm37 |
- decidim Vendordecidim Affected before 0.30.9; 0.31.0.rc1 to before 0.31.5; 0.32.0.rc1 to before 0.32.0 Fixed in 0.30.9, 0.31.5, 0.32.0 Patch available CNA
- decidim-admin (RubyGems) Vendor— Affected before 0.30.9 Fixed in 0.30.9 Patch available GHSA-jvqq-cvh4-xm37
- decidim-admin (RubyGems) Vendor— Affected 0.31.0.rc1 to before 0.31.5 Fixed in 0.31.5 Patch available GHSA-jvqq-cvh4-xm37
- decidim-admin (RubyGems) Vendor— Affected 0.32.0.rc1 to before 0.32.0 Fixed in 0.32.0 Patch available GHSA-jvqq-cvh4-xm37
Remediation
- Fix · CNA decidim (decidim) Fixed in 0.30.9, 0.31.5, 0.32.0
- Fix · GHSA-jvqq-cvh4-xm37 decidim-admin (RubyGems) Fixed in 0.30.9 Advisory →
- Fix · GHSA-jvqq-cvh4-xm37 decidim-admin (RubyGems) Fixed in 0.31.5 Advisory →
- Fix · GHSA-jvqq-cvh4-xm37 decidim-admin (RubyGems) Fixed in 0.32.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45376
- 2026-10-03 Alias added: GHSA-jvqq-cvh4-xm37
References
Other 9
- https://github.com/decidim/decidim/security/advisories/GHSA-jvqq-cvh4-xm37
- https://github.com/decidim/decidim/commit/27335957b363516e23919a9006812f1c458c88e0
- https://github.com/decidim/decidim/commit/e4d21b41fb462d9436035a043962a4090f2cc240
- https://github.com/decidim/decidim/commit/f3817fac448a4e3facd6bcb346167048b3421124
- https://github.com/decidim/decidim/releases/tag/v0.30.9
- https://github.com/decidim/decidim/releases/tag/v0.31.5
- https://github.com/decidim/decidim/releases/tag/v0.32.0.rc2
- https://github.com/decidim/decidim/pull/16668
- https://github.com/decidim/decidim
More decidim vulnerabilities
- TI-2026-33169 Decidim: Verification documents can be downloaded through reusable links CVSS 3.1HIGH 7.5
- TI-2025-40203 Decidim's private data exports can lead to data leaks CVSS 4.0HIGH 8.2
- TI-2026-33203 Decidim: JWT-backed authentication can be replayed across organizations CVSS 3.1HIGH 8.5
- TI-2026-33168 Decidim: Private exports can be downloaded through reusable links CVSS 3.1MEDIUM 6.5
- TI-2026-33204 Decidim: CSV census record endpoints improper authorization CVSS 3.1MEDIUM 6.0
- TI-2026-32933 Decidim: Forms admin question editor lacks authorization CVSS 3.1MEDIUM 5.4
Sources
- CVE-2026-45376 · CVE Program
- CVE-2026-45376 · NVD
- FIRST EPSS
- GHSA-jvqq-cvh4-xm37 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences