CVE-2026-19475
Awaiting Analysis Awaiting Analysis - Queue

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-05
AI Q&A
2026-09-02
EPSS Evaluated
2026-09-03
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-400 The product does not properly control the allocation and maintenance of a limited resource.

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.

Detection Guidance

This vulnerability can be detected by monitoring for unusual memory consumption in Grafana server processes or by checking for unauthorized SQL macro injections in queries. Look for Grafana logs indicating high memory usage or server crashes. No specific commands are provided in the context.

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.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by causing a denial of service through uncontrolled memory consumption, potentially leading to service unavailability. Unauthorized access or disruption of Grafana servers may affect data integrity and availability, which are critical requirements under these regulations.

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