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.
Published: 2026-07-31
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Decidim’s admin user search endpoint constructs raw SQL ORDER BY clauses using the user‑supplied search term before sanitization. Because the term is interpolated into an Arel.sql expression, an authenticated organization administrator can cause the database to evaluate arbitrary PostgreSQL expressions. The vulnerability only yields blind information gain via timing, but it allows the attacker to infer sensitive data such as usernames or emails.

Affected Systems

The issue exists in Decidim framework versions earlier than 0.30.9, in 0.31.0 up to (but not including) 0.31.5, and in 0.32.0.rc1 through just before 0.32.0.rc2. The official patches are distributed with releases 0.30.9, 0.31.5 and 0.32.0.rc2; any version less than those is vulnerable.

Risk and Exploitability

With a CVSS score of 5.5, the vulnerability is considered moderate. The EPSS score is listed as less than 1%, indicating a very low probability of exploitation in the wild. Decidim is not present in the CISA KEV catalog, and the attack requires active authenticated access to the organization’s admin interface via a web request. An attacker possessing or obtaining organization‑administrator credentials could use the flaw to extract data in time‑based increments, potentially compromising confidentiality of user identities across the platform.

Generated by OpenCVE AI on August 2, 2026 at 03:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Decidim to a fixed version (0.30.9, 0.31.5, or 0.32.0.rc2 or later).
  • If an upgrade cannot be performed immediately, disable or restrict the /admin/organization/users search feature for organization administrators until the issue is resolved.
  • Add or enforce input validation on the search term—ensure the value is escaped or passed as a bound parameter—to mitigate future injection attempts.

Generated by OpenCVE AI on August 2, 2026 at 03:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jvqq-cvh4-xm37 Decidim: Admin user search allows SQL injection through similarity-based sorting
History

Mon, 03 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 01 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Decidim
Decidim decidim
Vendors & Products Decidim
Decidim decidim

Fri, 31 Jul 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title Decidim: Admin user search allows SQL injection through similarity-based sorting
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-03T17:13:15.144Z

Reserved: 2026-05-12T00:51:29.086Z

Link: CVE-2026-45376

cve-icon Vulnrichment

Updated: 2026-08-03T17:12:37.682Z

cve-icon NVD

Status : Received

Published: 2026-07-31T23:17:24.373

Modified: 2026-08-03T18:16:39.320

Link: CVE-2026-45376

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T04:00:06Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')