Skip to main content
EPSS 0.4%top 67%

CVE-2026-19475: Vulnerability in Grafana PostgreSQL Datasource

0
Medium
VulnerabilityCVE-2026-19475cvecve-2026-19475
Published: 09/02/2026 (09/02/2026, 15:56:33 UTC)
Source: CVE Database V5
Vendor/Project: Grafana
Product: PostgreSQL Datasource

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 v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

Grafana

PostgreSQL Datasource

Affected versions
>=13.0.0 <=13.0.1

Grafana

MySQL Datasource

Affected versions
>=13.0.0 <=13.0.2

Grafana

Grafana OSS

Affected versions
>=11.6.0 <=11.6.16>=12.0.0 <=12.0.10>=12.1.0 <=12.1.10>=12.2.0 <=12.2.10>=12.3.0 <=12.3.11>=12.4.0 <=12.4.9>=13.0.0 <=13.0.7>=13.1.0 <=13.1.4

Grafana

Microsoft SQL Server Datasource

Affected versions
>=13.0.0 <=13.0.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:19:04 UTC

Technical Analysis

This vulnerability allows an authenticated user with permission to query SQL data sources in Grafana to bypass the fix for CVE-2026-33375 by injecting the timeGroup macro through a WHERE clause. Grafana's regex-based macro parsing does not reject this injection, and evaluating the injected macro causes uncontrolled memory consumption. This can terminate the Grafana server process, leading to a denial of service. The affected data sources include Microsoft SQL Server, PostgreSQL, and MySQL. The vulnerability is identified as CWE-400 (Uncontrolled Resource Consumption).

Potential Impact

An attacker with authenticated query permissions can cause a denial of service by triggering uncontrolled memory consumption in the Grafana server process. This results in the termination of the Grafana server, disrupting service availability. There is no impact on confidentiality or integrity reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a fix is available, restrict query permissions to trusted users and monitor for unusual resource consumption patterns related to SQL datasource queries.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GRAFANA
Date Reserved
2026-08-10T14:51:01.083Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a9849d8acd9273b4970aff4

Added to database: 09/02/2026, 16:07:52 UTC

Last enriched: 09/07/2026, 13:19:04 UTC

Last updated: 10/17/2026, 18:48:17 UTC

Views: 105

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses