# CVE-2026-107509: Grafana SQL Expression denial of service via unbounded memory allocation

Source: https://junglewise.ai/threats/cve-2026-107509-a-user-with-the-viewer-role-can-make-grafana-allocate-an  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-11. Updated: 2026-11-11  
License: CC BY 4.0 with a link back

CVE-2026-107509 · Severity: medium · CVSS 6.5 · Published 2026-11-11

Grafana is an open-source monitoring and visualization platform used to display metrics and logs. A user with basic Viewer permissions can crash the Grafana server by submitting a specially crafted SQL query that allocates excessive memory, causing the application to run out of resources and become unavailable to all users.

Technologies: [Grafana](https://junglewise.ai/threats/technologies/grafana-grafana). Vendors: [Grafana](https://junglewise.ai/threats/vendors/grafana).

## Quick answers

**Is CVE-2026-107509 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-107509 being exploited in the wild.

**How severe is CVE-2026-107509?** Medium severity, with a CVSS score of 6.5, published 11 November 2026.

**Which products and versions are affected?** Grafana Grafana.

**Is there a fix for CVE-2026-107509?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-107509 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-107509?** Check whether you run Grafana. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A denial-of-service vulnerability exists in Grafana's SQL Expression query handler where unsanitized BINARY type casting with excessively large length values triggers unbounded memory allocation. An authenticated attacker with the Viewer role can exploit this via a single malicious SQL query to exhaust server memory and crash the process. The vulnerability does not require escalated privileges and can be triggered remotely by any Viewer user.

## Affected products

- Grafana Grafana

## Timeline

- 2026-11-11: disclosed

## References

- [https://grafana.com/security/security-advisories/cve-2026-107509](https://grafana.com/security/security-advisories/cve-2026-107509)

## Related threats

- [Grafana Elasticsearch data source denial of service via time range](https://junglewise.ai/threats/cve-2026-81843-grafana-is-an-open-source-platform-for-monitoring-and)
- [Grafana Elasticsearch data source improper authorization in resource proxy](https://junglewise.ai/threats/cve-2026-106475-the-elasticsearch-data-source-resource-proxy-forwards-the)
- [Grafana Prometheus data source path traversal](https://junglewise.ai/threats/cve-2026-106472-grafana-s-prometheus-data-source-passes-the-resource-path)
- [Grafana authorization bypass in team preferences endpoint](https://junglewise.ai/threats/cve-2026-82014-any-authenticated-user-including-a-viewer-could-change-the)
- [Grafana authorization bypass in Git Sync provisioning API](https://junglewise.ai/threats/cve-2026-13721-a-user-with-edit-access-to-one-folder-could-modify-move-or-delete)
