Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-19475 EUVD-2026-70104GHSA-f7qf-p234-rj62

SQL Data Source Plugin: OOM DoS via $__timeGroup macro

Published Sep 2, 2026 · Updated Sep 3, 2026 · Assigned by GRAFANA

Description

An authenticated user with permission to query a SQL data source can bypass the fix for CVE-2026-33375 by injecting the timeGroup macro through a WHERE clause, which Grafana's regex-based macro parsing does not reject. Evaluating the injected macro causes uncontrolled memory consumption that can terminate the Grafana server process, resulting in a denial of service. The Microsoft SQL Server, PostgreSQL, and MySQL data sources are affected.

Affected products

VendorProductAffectedFixed
Grafana PostgreSQL Datasource 13.0.0 – ≤ 13.0.1 —
Grafana MySQL Datasource 13.0.0 – ≤ 13.0.2 —
Grafana Grafana OSS 11.6.0 – ≤ 11.6.16, 12.0.0 – ≤ 12.0.10, 12.1.0 – ≤ 12.1.10, 12.2.0 – ≤ 12.2.10, 12.3.0 – ≤ 12.3.11, 12.4.0 – ≤ 12.4.9, 13.0.0 – ≤ 13.0.7, 13.1.0 – ≤ 13.1.4 —
Grafana Microsoft SQL Server Datasource 13.0.0 – ≤ 13.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP7 grafana 12.4.10-150200.3.94.3 SUSE-SU-2026:4600-1
SLES 15 SP7 system-user-grafana 1.0.0-150200.5.8.1 SUSE-SU-2026:4600-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Multi Linux Manager Tools SLE-Micro-5 uyuni-tools 5.2.17-150002.3.20.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-Micro-5 venv-salt-minion 3006.0-150002.5.22.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-15 golang-github-prometheus-prometheus 3.13.2-150002.3.19.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-15 grafana 12.4.10-150002.4.27.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-15 mgr-push 5.2.5-150002.3.12.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-15 spacecmd 5.2.10-150002.3.15.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-15 spacewalk-client-tools 5.2.7-150002.3.12.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-15 uyuni-tools 5.2.17-150002.3.20.1 SUSE-SU-2026:4585-1
SUSE Multi Linux Manager Tools SLE-15 venv-salt-minion 3006.0-150002.5.22.1 SUSE-SU-2026:4585-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed grafana 12.4.10-1.1 openSUSE-SU-2026:11684-1
openSUSE Leap 16.0 grafana 12.4.10-bp160.1.1 openSUSE-SU-2026:22125-1
ReleasePackageFixed inAdvisory
Alpine v3.24 grafana 12.4.14-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling grafana-12.3 No fix yet —

Advisories 5

References