SQL Data Source Plugin: OOM DoS via $__timeGroup macro (Grafana PostgreSQL Datasource)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.42 % Β· percentile 36 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GRAFANA
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-400 β Uncontrolled Resource Consumption
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GRAFANA |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD Β· security@grafana.com (Secondary) |
European references
- ENISA EUVD Β· EUVD-2026-70104
- GCVE Β· GCVE-0-2026-19475
Affected products
| Product | Versions |
|---|---|
| Grafana Β· PostgreSQL Datasource | affected 13.0.0 β€ 13.0.1 |
| Grafana Β· MySQL Datasource | affected 13.0.0 β€ 13.0.2 |
| Grafana Β· Grafana OSS | affected 11.6.0 β€ 11.6.16 ; affected 12.0.0 β€ 12.0.10 ; affected 12.1.0 β€ 12.1.10 ; affected 12.2.0 β€ 12.2.10 ; affected 12.3.0 β€ 12.3.11 ; affected 12.4.0 β€ 12.4.9 |
| Grafana Β· Microsoft SQL Server Datasource | affected 13.0.0 β€ 13.0.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |