CVE-2026-19475
Received Received - Intake

Authenticated SQL Macro Injection in Grafana Data Sources

Vulnerability report for CVE-2026-19475, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-02

Last updated on: 2026-09-02

Assigner: Grafana Labs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-02
Last Modified
2026-09-02
Generated
2026-09-02
AI Q&A
2026-09-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
grafana grafana *
microsoft microsoft_sql_server *
postgresql postgresql *
mysql mysql *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability allows an authenticated user with SQL data source query permissions to bypass a previous fix by injecting a timeGroup macro through a WHERE clause. Grafana's regex-based macro parsing fails to block this injection, leading to uncontrolled memory consumption that can crash the Grafana server, causing a denial of service.

Impact Analysis

An attacker with valid credentials could exploit this to crash the Grafana server, disrupting monitoring and visualization services. This could lead to loss of visibility into system metrics and potential downtime for dependent applications.

Mitigation Strategies

Update Grafana to the latest version to address the macro injection issue. Disable or restrict SQL data source permissions for users to limit authenticated access. Monitor server memory usage and Grafana logs for unusual activity indicating memory consumption.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19475. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart