{"id":"CVE-2026-45376","published":"2026-07-31T22:34:27Z","modified":"2026-08-03T17:13:15Z","title":"Decidim: Admin user search allows SQL injection through similarity-based sorting","vendor":"decidim","product":"decidim","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00601,"percentile":0.49699,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/decidim/decidim/security/advisories/GHSA-jvqq-cvh4-xm37","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/decidim/decidim/commit/27335957b363516e23919a9006812f1c458c88e0","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/commit/e4d21b41fb462d9436035a043962a4090f2cc240","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/commit/f3817fac448a4e3facd6bcb346167048b3421124","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.30.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.31.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.32.0.rc2","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":9.94},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"decidim","affectedVersions":[{"vendor":"decidim","product":"decidim","versions":["< 0.30.9",">= 0.31.0.rc1, < 0.31.5",">= 0.32.0.rc1, < 0.32.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-03T17:12:17.950662Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"decidim-admin","vulnerableRanges":["<0.30.9",">=0.31.0.rc1, <0.31.5",">=0.32.0.rc1, <0.32.0"],"patched":["0.30.9","0.31.5","0.32.0"],"from":["GHSA-jvqq-cvh4-xm37"],"provenance":"source"}],"summary":{"text":"The flaw is an SQL injection in the admin user search of Decidim, a participatory democracy framework, where the search term is interpolated into raw SQL ORDER BY similarity expressions before sanitization on the GET /admin/organization/users endpoint. An attacker who holds organization administrator credentials on the network can exploit it with low complexity and no user interaction to run blind PostgreSQL expressions and infer data from timing differences.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:07Z"},"euvd":{"id":"EUVD-2026-51678","exploited":false,"provenance":"source"}}