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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Grafana PostgreSQL Datasource
Default version status: unaffected
13.0.0 to ≤ 13.0.1affected
Grafana MySQL Datasource
Default version status: unaffected
13.0.0 to ≤ 13.0.2affected
Grafana Grafana OSS
Default version status: unaffected
11.6.0 to ≤ 11.6.16affected12.0.0 to ≤ 12.0.10affected12.1.0 to ≤ 12.1.10affected12.2.0 to ≤ 12.2.10affected12.3.0 to ≤ 12.3.11affected12.4.0 to ≤ 12.4.9affected13.0.0 to ≤ 13.0.7affected13.1.0 to ≤ 13.1.4affected
Grafana Microsoft SQL Server Datasource
Default version status: unaffected
13.0.0 to ≤ 13.0.1affected