CVE-2026-19475
SQL Data Source Plugin: OOM DoS via $__timeGroup macro
Reported by grafana · Published September 2, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| grafana | Alpine | 12.4.14-r0 |
| grafana-13.1 | Chainguard | 13.1.6-r0, 13.1.5-r0 |
| grafana | Bitnami | 13.1.5, 13.0.8, 12.4.10 |
| PostgreSQL Datasource | Grafana | 13.0.1 |
| Grafana OSS | Grafana | 13.1.4, 13.0.7, 12.4.9, 12.3.11, 12.2.10, 12.1.10, 12.0.10, 11.6.16 |
| MySQL Datasource | Grafana | 13.0.2 |
| Microsoft SQL Server Datasource | Grafana | 13.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Grafana | PostgreSQL Datasource | 13.0.0 |
| Grafana | MySQL Datasource | 13.0.0 |
| Grafana | Grafana OSS | 11.6.0, 12.0.0, 12.1.0 |
| Grafana | Microsoft SQL Server Datasource | 13.0.0 |
| Grafana | PostgreSQL Datasource | 13.0.0 |
| alpine | grafana | 0 |
| Grafana | Grafana OSS | 13.0.0, 13.1.0, 11.6.0 |
| chainguard | grafana-13.1 | 0, 0 |
| Grafana | MySQL Datasource | 13.0.0 |
| Grafana | Microsoft SQL Server Datasource | 13.0.0 |
Timeline
- Sep 2, 2026 Coalition ESS Score
- Sep 2, 2026 CVE Published
- Sep 3, 2026 EPSS Score (29 in total, the first dated here)
- Sep 3, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-19475
vulnetix vdb fixes CVE-2026-19475
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-19475/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart