Skip to content

CVE-2026-19475 SQL Data Source Plugin: OOM DoS via $__timeGroup macro

MediumCVSS 6.5 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
grafana PostgreSQL Datasource >= 13.0.0, <= 13.0.1 No fix listed
grafana MySQL Datasource >= 13.0.0, <= 13.0.2 No fix listed
Grafana OSS >= 11.6.0, <= 11.6.16 No fix listed
Grafana OSS >= 12.0.0, <= 12.0.10 No fix listed
Grafana OSS >= 12.1.0, <= 12.1.10 No fix listed
Grafana OSS >= 12.2.0, <= 12.2.10 No fix listed
Grafana OSS >= 12.3.0, <= 12.3.11 No fix listed
Grafana OSS >= 12.4.0, <= 12.4.9 No fix listed
Grafana OSS >= 13.0.0, <= 13.0.7 No fix listed
Grafana OSS >= 13.1.0, <= 13.1.4 No fix listed
grafana Microsoft SQL Server Datasource >= 13.0.0, <= 13.0.1 No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9(Red Hat:multicluster_globalhub) All versions No fix listed
redhat/rhacm2/acm-grafana-rhel9(Red Hat:acm:2) All versions No fix listed
redhat/rhceph/rhceph-5-dashboard-rhel8(Red Hat:ceph_storage:5) All versions No fix listed
redhat/rhceph/rhceph-6-dashboard-rhel9(Red Hat:ceph_storage:6) All versions No fix listed
redhat/rhceph/grafana-rhel9(Red Hat:ceph_storage:7) All versions No fix listed
redhat/rhceph/grafana-rhel9(Red Hat:ceph_storage:8) All versions No fix listed
redhat/rhceph/grafana-rhel10(Red Hat:ceph_storage:9) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:10) All versions No fix listed
alpine/grafana(Alpine:v3.24) < 12.4.14-r0 12.4.14-r0

References