CVE-2026-19475: SQL Data Source Plugin: OOM DoS via $__timeGroup macro

CVE-2026-19475 affects 93 listed versions of Grafana Labs Grafana in the Dawnsentry catalogue.

6.5CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
2 September 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Grafana Labs Grafana

93 of 250 listed versions are affected. Fixed in 13.1.5, 13.0.8, 12.4.10, 12.2.11, 12.1.10+security-01, 11.6.17. The newest release, 13.3.2, is not affected.

13.1.4 13.1.3 13.1.2 13.1.1 13.1.0 13.0.7 13.0.6 13.0.5 13.0.4 13.0.3 13.0.2 13.0.1+security-01 13.0.1 12.4.9 12.4.8 12.4.7 12.4.6 12.4.5 12.4.4 12.4.3+security-02 12.4.3 12.3.11 12.3.10 12.3.9 12.3.8 12.3.7 12.3.6+security-04 12.3.6+security-01 12.3.6 12.3.5 12.3.4 12.3.3 12.3.2+security-01 12.3.2 12.3.1+security-01 12.3.1 12.2.10 12.2.9 12.2.8+security-04 12.2.8+security-01 12.2.8 12.2.7 12.2.6 12.2.5 12.2.4+security-01 12.2.4 12.2.3+security-01 12.2.3 12.2.2 12.2.1+security-01 12.1.10 12.1.9 12.1.8 12.1.7 12.1.6+security-01 12.1.6 12.1.5+security-01 12.1.5 12.1.4 12.1.3+security-01 and 33 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Grafana)

Published by Grafana on 2 September 2026. Last changed 3 September 2026.

Sources

Check one version you run: look CVE-2026-19475 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.