SQL Data Source Plugin: OOM DoS via $__timeGroup macro (Grafana PostgreSQL Datasource)

CVE-2026-19475
MEDIUM 6.5

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

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HGRAFANA
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD Β· security@grafana.com (Secondary)

European references

Affected products

ProductVersions
Grafana Β· PostgreSQL Datasourceaffected 13.0.0 ≀ 13.0.1
Grafana Β· MySQL Datasourceaffected 13.0.0 ≀ 13.0.2
Grafana Β· Grafana OSSaffected 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 Datasourceaffected 13.0.0 ≀ 13.0.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD