CVE-2026-45376: Decidim SQL injection in administrative user search

CVE-2026-45376 · Severity: medium · CVSS 6.8 · Published 2026-07-31

Decidim is an open-source platform used by governments and organizations to facilitate participatory democracy and citizen engagement. A security flaw in the administrative interface allows an authorized administrator to perform unauthorized database queries. This could lead to the exposure of sensitive internal data through specialized timing-based attacks, potentially compromising the privacy of the platform's users or internal operations.

Technologies: Decidim, decidim-admin (RubyGems). Vendors: Decidim, RubyGems.

Quick answers

Is CVE-2026-45376 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-45376 being exploited in the wild.
How severe is CVE-2026-45376?
Medium severity, with a CVSS score of 6.8, published 31 July 2026.
Which products and versions are affected?
Decidim < 0.30.9, >= 0.31.0.rc1 < 0.31.5, >= 0.32.0.rc1 < 0.32.0.rc2; decidim-admin (RubyGems) ECOSYSTEM:introduced=0,fixed=0.30.9.
Is there a fix for CVE-2026-45376?
Yes. decidim-admin (RubyGems): upgrade to 0.30.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-45376 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-45376?
Check whether you run Decidim or decidim-admin (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • decidim-admin (RubyGems): upgrade to 0.30.9 or later
    bundle update decidim-admin

Technical details

A blind SQL injection vulnerability exists in Decidim's administrative user search functionality. The 'GET /admin/organization/users' endpoint incorrectly interpolates the 'params[:term]' parameter into a raw 'Arel.sql' ORDER BY similarity expression without proper sanitization. An authenticated attacker with organization administrator privileges can exploit this to execute arbitrary PostgreSQL expressions. By observing timing differences in the server's response, the attacker can exfiltrate data from the database. The issue has been resolved by refactoring the autocomplete functionality to use a GraphQL API endpoint and ensuring proper parameter handling. Fixes are available in versions 0.30.9, 0.31.5, and 0.32.0.rc2.

Affected products

  • Decidim Decidim < 0.30.9, >= 0.31.0.rc1 < 0.31.5, >= 0.32.0.rc1 < 0.32.0.rc2

Identifiers

  • CVE-2026-45376
  • GHSA-jvqq-cvh4-xm37

Timeline

  • 2026-07-31: advisory: NVD publication date
  • 2026-07-31: disclosed: GitHub Security Advisory published
  • 2026-05-09: patched: Fixes backported to various release branches

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.