p PatchFirst

CVE-2026-19475

CVE-2026-19475 · SQL Data Source Plugin: OOM DoS via $__timeGroup macro

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.5 · Medium · EPSS 0.4%

Published
Updated

Stack: applications

Affected products and versions

  • postgresql datasource

    Versions
    • ≥ 13.0.0, ≤ 13.0.1: Affected (semver)

    No fix published

  • mysql datasource

    Versions
    • ≥ 13.0.0, ≤ 13.0.2: Affected (semver)

    No fix published

  • grafana

    Versions
    • ≥ 11.6.0, ≤ 11.6.16: Affected (semver)
    • ≥ 12.0.0, ≤ 12.0.10: Affected (semver)
    • ≥ 12.1.0, ≤ 12.1.10: Affected (semver)
    • ≥ 12.2.0, ≤ 12.2.10: Affected (semver)
    • ≥ 12.3.0, ≤ 12.3.11: Affected (semver)
    • ≥ 12.4.0, ≤ 12.4.9: Affected (semver)
    • ≥ 13.0.0, ≤ 13.0.7: Affected (semver)
    • ≥ 13.1.0, ≤ 13.1.4: Affected (semver)

    No fix published

  • microsoft sql server datasource

    Versions
    • ≥ 13.0.0, ≤ 13.0.1: Affected (semver)

    No fix published

Original sources

Check your server →