Grafana fixes MCP Server SSRF token leak and Loki memory allocation flaw
Vulnerability Disclosure · 3 sources · Updated 4mo ago · First seen Jul 15, 2026

Grafana published security advisories for two products, including CVE-2026-15583 in Grafana MCP Server and a separate unbounded memory allocation issue in Grafana Loki. The MCP Server flaw affects version 0.17.1 and earlier and stems from a confused-deputy SSRF condition triggered through the X-Grafana-URL header. An unauthenticated remote attacker can use the bug to exfiltrate the server’s environment-configured Grafana service-account token and force requests to arbitrary internal services.
The SSRF exposure also extends to sensitive internal targets such as cloud metadata endpoints, raising the risk of credential theft and internal network access without user interaction. Grafana’s Loki advisory covers version 3.7.0 and earlier, where detected_fields query limits can cause unbounded memory allocation. Government and security notices have urged administrators to review Grafana’s advisories and apply the vendor’s updates for affected MCP Server and Loki deployments.