SQL Data Source Plugin: OOM DoS via $__timeGroup macro
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Grafana PostgreSQL Datasource
From 13.0.0 · through 13.0.1
- Grafana MySQL Datasource
From 13.0.0 · through 13.0.2
- Grafana Grafana OSS
From 11.6.0 · through 11.6.16; From 12.0.0 · through 12.0.10; From 12.1.0 · through 12.1.10; From 12.2.0 · through 12.2.10; From 12.3.0 · through 12.3.11; From 12.4.0 · through 12.4.9; From 13.0.0 · through 13.0.7; From 13.1.0 · through 13.1.4
- Grafana Microsoft SQL Server Datasource
From 13.0.0 · through 13.0.1