CVE-2026-19475

SQL Data Source Plugin: OOM DoS via $__timeGroup macro

State
Published
Severity
6.5 Medium
Published
Sep 2, 2026
Updated
Sep 3, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HGRAFANA

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
PostgreSQL DatasourceGrafana
  • 13.0.0 through 13.0.1Affected
MySQL DatasourceGrafana
  • 13.0.0 through 13.0.2Affected
Grafana OSSGrafana
  • 11.6.0 through 11.6.16Affected
  • 12.0.0 through 12.0.10Affected
  • 12.1.0 through 12.1.10Affected
  • 12.2.0 through 12.2.10Affected
  • 12.3.0 through 12.3.11Affected
  • 12.4.0 through 12.4.9Affected
  • 13.0.0 through 13.0.7Affected
  • 13.1.0 through 13.1.4Affected
Microsoft SQL Server DatasourceGrafana
  • 13.0.0 through 13.0.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.