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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | grafana | 12.4.14-r0 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | grafana-12.3 | No fix yet | — |
Advisories 5
- WID-SEC-2026-3163 Grafana: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 20, 2026
- openSUSE-SU-2026:22125-1 Security update for grafana SUSE / openSUSE Security Updates · Oct 20, 2026
- SUSE-SU-2026:4600-1 Security update for grafana, system-user-grafana SUSE / openSUSE Security Updates · Oct 9, 2026
- SUSE-SU-2026:4585-1 Security update 5.2.1 for Multi-Linux Manager Client Tools SUSE / openSUSE Security Updates · Oct 8, 2026
- openSUSE-SU-2026:11684-1 grafana-12.4.10-1.1 on GA media SUSE / openSUSE Security Updates · Sep 5, 2026
References
- https://grafana.com/security/security-advisories/cve-2026-19475 vendor-advisory