Memory exhaustion denial of service in SQL Expressions

Medium
Advisory ID:
CVE-2026-107509
Published:
2026-11-10
Product:
Grafana
CVSS Score:
6.5
CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fixed Versions:
<13.1.0
>=13.1.10 <13.2.0
>=13.2.6 <13.3.0
>=13.3.1

Summary

A user with the Viewer role can make Grafana allocate an unbounded amount of memory, and crash it, with a single SQL Expression query that casts a value to a very large BINARY length (memory allocation with excessive size value).

Thanks to lucifer_ for reporting this vulnerability to us via our vulnerability disclosure program.