Bug 2565148 (CVE-2026-107509)

Summary: CVE-2026-107509 grafana: SQL EXPRESSIONS QUERY COULD CRASH GRAFANA
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amctagga, aoconnor, bniver, flucifre, gmeno, gparvin, groman, jbalunas, lchilton, mbenjamin, mhackett, rhaigner, rhel-process-autobot, security-response-team, sfeifer, sostapov, tsze, vereddy, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Grafana. An authenticated user with viewer permissions can cause a Denial of Service (DoS) by submitting a specially crafted SQL Expressions query that includes an excessively large binary type conversion. Processing this operation can consume excessive memory and cause the Grafana application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2583975    
Bug Blocks:    
Deadline: 2026-11-10   

Description OSIDB Bzimport 2026-11-02 12:33:54 UTC
CVE-2026-107509: SQL EXPRESSIONS QUERY COULD CRASH GRAFANA

Score: 6.5 (MEDIUM) 

Short description of the vulnerability: 

A signed-in user with the Viewer role could crash Grafana with a single SQL Expression query that uses a very large BINARY cast. The fixed versions reject this cast in SQL Expressions. 

Known mitigations: 

Disable the sqlExpressions feature toggle where SQL Expressions are not used, and run Grafana with a memory limit. 

Affected products and versions: 

Grafana and Grafana Enterprise 13.1.0 to 13.1.9, 13.2.0 to 13.2.5, and 13.3.0. Versions 12.4.0 to 12.4.14 and 13.0.0 to 13.0.12 are affected only when the sqlExpressions feature toggle is enabled. 

Affected platforms: 

Self-managed (on-premise)