SQL Data Source Plugin: OOM DoS via $__timeGroup macro
Summary
| CVE | CVE-2026-19475 |
|---|---|
| State | PUBLISHED |
| Assigner | GRAFANA |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-02 16:17:15 UTC |
| Updated | 2026-09-03 16:37:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.004010000 probability, percentile 0.334330000 (date 2026-09-07)
Problem Types: CWE-400 | CWE-400 CWE-400 Uncontrolled Resource Consumption
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Grafana | PostgreSQL Datasource | affected 13.0.0 13.0.1 semver | Not specified |
| CNA | Grafana | MySQL Datasource | affected 13.0.0 13.0.2 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 11.6.0 11.6.16 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 12.0.0 12.0.10 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 12.1.0 12.1.10 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 12.2.0 12.2.10 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 12.3.0 12.3.11 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 12.4.0 12.4.9 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 13.0.0 13.0.7 semver | Not specified |
| CNA | Grafana | Grafana OSS | affected 13.1.0 13.1.4 semver | Not specified |
| CNA | Grafana | Microsoft SQL Server Datasource | affected 13.0.0 13.0.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| grafana.com/security/security-advisories/cve-2026-19475 | [email protected] | grafana.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: khanmarshal (Researcher) (en)
There are currently no legacy QID mappings associated with this CVE.