Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-jvqq-cvh4-xm37: Decidim: Admin user search allows SQL injection through similarity-based sorting

0
Medium
Published: 07/13/2026 (07/13/2026, 16:59:49 UTC)
Source: GCVE Database
Product: decidim-admin

Description

Decidim-admin versions prior to 0.30.9 contain an SQL injection vulnerability in the admin organization user search feature. The vulnerability arises because user-supplied input is directly interpolated into raw SQL ORDER BY clauses without proper sanitization, allowing authenticated admin users to inject arbitrary SQL expressions. Exploitation requires admin authentication and can be used to perform blind SQL injection via timing attacks, potentially exposing sensitive data accessible to the database role. The vulnerability can also be abused to degrade service availability by causing long-running queries.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Affected software

RubyGemsghsa
decidim-admin
Affected versions
<0.30.9
RubyGemsghsa
decidim-admin
Affected versions
>=0.31.0.rc1 <0.31.5
RubyGemsghsa
decidim-admin
Affected versions
>=0.32.0.rc1 <0.32.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 10:02:31 UTC

Technical Analysis

The Decidim-admin application exposes an SQL injection vulnerability (CVE-2026-45376) in the GET /admin/organization/users endpoint. The vulnerability is due to unsafe interpolation of the user-controlled 'term' parameter into raw SQL ORDER BY expressions used for similarity-based sorting. Although the WHERE clauses use bind parameters, the ORDER BY clauses use Arel.sql with interpolated strings, bypassing Rails sanitization. This allows an authenticated admin user to inject arbitrary SQL code into the ORDER BY clause, which PostgreSQL executes as part of the sorting operation. Exploitation can be performed via blind SQL injection techniques, such as time delays using pg_sleep, to infer data or degrade availability. The issue affects decidim-admin versions before 0.30.9. A patch is referenced in the Decidim GitHub repository pull request #16668.

Potential Impact

An authenticated organization admin can exploit this vulnerability to execute arbitrary SQL expressions within the database ORDER BY clause. This can lead to unauthorized data disclosure through blind SQL injection techniques, such as timing attacks, and potential denial of service by causing long-running queries. The impact is limited by the requirement for admin authentication but remains significant due to the ability to execute arbitrary SQL within the database context. The vulnerability does not directly affect data integrity or availability beyond induced delays but can expose sensitive information accessible to the database user.

Mitigation Recommendations

A patch addressing this vulnerability is available in Decidim version 0.30.9 and later, as referenced in the Decidim GitHub pull request #16668. Users should upgrade to version 0.30.9 or later to remediate the issue. As a temporary workaround, restrict administrator access to trusted users only. No other mitigations are specifically recommended by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-jvqq-cvh4-xm37
Osv Schema Version
1.4.0
Aliases
["CVE-2026-45376"]
Ecosystems
["RubyGems"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a55ffbf68715ace432fb902

Added to database: 07/14/2026, 09:22:07 UTC

Last enriched: 07/14/2026, 10:02:31 UTC

Last updated: 07/14/2026, 10:16:32 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses