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.
Published: 2026-09-02
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An authenticated user who has permission to query a SQL data source can inject the $__timeGroup macro into a WHERE clause. Grafana’s regex‑based macro parser does not filter this input, so evaluating the macro leads to uncontrolled memory consumption that can terminate the Grafana server process, resulting in a denial of service. The vulnerability is a classic example of resource exhaustion (CWE-400).

Affected Systems

Grafana OSS and the Microsoft SQL Server, PostgreSQL, and MySQL data source plugins are affected. Users running these versions of Grafana with any active data source connection that allows query execution are at risk unless the vulnerability is patched.

Risk and Exploitability

The CVSS score of 6.5 indicates medium severity. An attacker must be authenticated and have query rights, so external attack vectors are limited to internal users or compromised accounts. EPSS data is not available and the vulnerability is not listed in CISA’s KEV catalog, so the known exploitation probability is unclear. However, because the exploit only requires a single malicious query, the risk to infrastructure that relies on Grafana dashboards is significant if the application is exposed to untrusted query inputs.

Generated by OpenCVE AI on September 3, 2026 at 10:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grafana to the latest version that fixes CVE-2026-19475.
  • Restrict or revoke query permissions for users who do not need to execute SQL queries against Grafana data sources.
  • Implement resource limits or memory quotas for the Grafana process to mitigate potential OOM conditions.

Generated by OpenCVE AI on September 3, 2026 at 10:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 00:15:00 +0000


Thu, 03 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana
Grafana microsoft Sql Server Datasource
Grafana mysql Datasource
Grafana postgresql Datasource
Vendors & Products Grafana
Grafana grafana
Grafana microsoft Sql Server Datasource
Grafana mysql Datasource
Grafana postgresql Datasource

Thu, 03 Sep 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Title CVE-2026-19475 CVE Record SQL Data Source Plugin: OOM DoS via $__timeGroup macro

Wed, 02 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Wed, 02 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title CVE-2026-19475 CVE Record
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Grafana Grafana Microsoft Sql Server Datasource Mysql Datasource Postgresql Datasource
cve-icon MITRE

Status: PUBLISHED

Assigner: GRAFANA

Published:

Updated: 2026-09-03T08:08:02.649Z

Reserved: 2026-08-10T14:51:01.083Z

Link: CVE-2026-19475

cve-icon Vulnrichment

Updated: 2026-09-02T18:01:00.390Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-02T16:17:15.120

Modified: 2026-09-03T16:37:52.170

Link: CVE-2026-19475

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-03T16:04:22Z

Links: CVE-2026-19475 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:34:29Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption