Vulnerability · Published Jul 31, 2026 · Assigned by GitHub_M
CVE-2026-45376Decidim: Admin user search allows SQL injection through similarity-based sorting
Medium 5.5
In plain English
A medium-severity SQL injection in decidim from decidim. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | decidim-admin | 0.30.9 | GHSA-jvqq-cvh4-xm37 |
| RubyGems | decidim-admin | 0.31.5 | GHSA-jvqq-cvh4-xm37 |
| RubyGems | decidim-admin | 0.32.0 | GHSA-jvqq-cvh4-xm37 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L
References
- https://github.com/decidim/decidim/security/advisories/GHSA-jvqq-cvh4-xm37 x_refsource_CONFIRM
- https://github.com/decidim/decidim/commit/27335957b363516e23919a9006812f1c458c88e0 x_refsource_MISC
- https://github.com/decidim/decidim/commit/e4d21b41fb462d9436035a043962a4090f2cc240 x_refsource_MISC
- https://github.com/decidim/decidim/commit/f3817fac448a4e3facd6bcb346167048b3421124 x_refsource_MISC
- https://github.com/decidim/decidim/releases/tag/v0.30.9 x_refsource_MISC
- https://github.com/decidim/decidim/releases/tag/v0.31.5 x_refsource_MISC
- https://github.com/decidim/decidim/releases/tag/v0.32.0.rc2 x_refsource_MISC