What this thread does
CVE-2026-19516 is fixed from 1.1.0 onward; 2.3.0 was released on 10 November. Do first: upgrade and require a caller token on HTTP transports, accounting for the 2.1–2.2 breaking changes below.
What happened
Grafana's advisory (also GHSA-fr94-7cqc-vjrq) describes a server-side request forgery in grafana/mcp-grafana, the official Grafana MCP server:
- A request header (
X-Grafana-URL) decided where the server sent its outbound requests, and thegrafana_api_requesttool let the caller also choose the HTTP method, path and body. - Nothing limited the destination to the configured Grafana instance, so a caller could reach loopback, internal and link-local addresses, including cloud metadata endpoints, and read the responses.
- It follows CVE-2026-15583 (15 Jul 2026, CVSS 8.6, fixed in 0.17.1), where an unauthenticated caller could get the server's Grafana service-account token through the same header. That fix stopped the token leak but not the choice of destination.
- Fixed in v1.1.0 (10 Aug 2026). The release removed the undocumented header and added optional caller authentication for the SSE and streamable HTTP transports.
The Hacker News credits Pillar Security's researchers and adds that affected releases accepted self-generated session IDs in place of authentication. Grafana's advisory does not describe that part or name a reporter, so treat it as the researchers' account.
Who should care
Anyone running mcp-grafana over SSE or streamable HTTP where other machines, containers or users can reach it, for example a shared server or a Kubernetes service. A local stdio setup that only your own agent talks to is a smaller target, but update it too.
What to do (as of November 2026)
1. Upgrade to at least 1.1.0; v2.3.0 was released on 10 November 2026. v2.0.0 has breaking changes: the Sift tools are gone, alerting tools are split into read and write tools, and over SSE per-request headers no longer reach tool calls. 2. Require a caller token on HTTP transports: set MCP_GRAFANA_SERVER_TOKEN (or --server-auth-token) so requests without Authorization: Bearer ... are rejected before any tool runs. Without it, a server bound to a non-loopback address still starts and only logs a security error. Use TLS when it listens beyond localhost. 3. Keep the default loopback bind unless you need remote callers, and keep the Host allow-list on. 4. Give the service account the smallest role your agent needs, and run with --disable-write if it only reads dashboards, logs and metrics. 5. Block egress to metadata endpoints (for example 169.254.169.254) from the container that runs the server.
Additional upgrade changes after 2.0.2
Grafana's v2.1.0 notes (20 October 2026) change list_users_by_org from an array to a paginated object with orgUsers; limit defaults to 100 and is capped at 1000. Prometheus query/metadata responses above 10 MiB now fail, and generic API requests follow the Grafana client timeout (10 seconds by default). v2.1.1, released the same day, fixes classic dashboards being treated as v2.
v2.2.0 routes datasource queries through /api/ds/query: those queries need Grafana 9+ and datasource query permission. Tempo trace outputs use new shapes with millisecond times; search drops job counts, serviceStats and the partial-results note. Cumulative Pyroscope metrics become rates with a unit and datasource minStep; Graphite accepts only Unix seconds, YYYYMMDD or RFC3339 absolute times and uses the series target as tags.name; native Prometheus histograms omit the sum. Query errors now carry Grafana's message. Some legacy query paths still use the datasource proxy, as listed in the release notes. Interactive charts now require render_grafana_app; query_prometheus and get_tempo_trace no longer open an App themselves. The release also updates Brotli for CVE-2026-111497 and Go for certificate fixes. Check direct output parsers when upgrading.
Pillar Security's Ariel Fogel describes the session-spoofing and SSRF findings in the team's 2 September 2026 research report, independently of Grafana's advisory; this corroborates the researcher attribution above.
Caveats
This thread summarizes the vendor advisory and release notes; it adds no independent testing. Check the advisory for the exact affected range before deciding you are safe.
Found via @TheHackersNews (4 Sep 2026).
Primary source
Primary sources: Grafana security advisory CVE-2026-19516 (Grafana Labs) and the grafana/mcp-grafana releases and README (Grafana Labs, maintainer repository). Checked: critical, CVSS 9.1, published 11 August 2026; the X-Grafana-URL header controls the destination of outbound requests and the caller can choose method, path and body; the destination is not restricted to the configured instance, so loopback, internal and link-local addresses including metadata endpoints are reachable; fixed in 1.1.0 (the advisory lists >=1.1.0; the thread's "before 1.1.0" is the implied affected range); CVE-2026-15583 only stopped the service-account token being sent to unintended destinations. Releases: v1.1.0 (10 August 2026) dropped support for the undocumented header and added --server-auth-token / MCP_GRAFANA_SERVER_TOKEN (requests without Authorization: Bearer get 401; with no token a non-loopback bind starts but logs a security error); v2.3.0 (10 November 2026); v2.0.0 breaking changes (Sift tools removed, alerting tools split, SSE per-request headers no longer reach tool calls); the README documents the Host allow-list and --disable-write. At the earlier source read, not verified: the Pillar Security credit and self-generated session IDs (the advisory names no reporter), the CVE-2026-15583 date and CVSS (not re-fetched), and the X post.
Not for: HTTP header prompt injection or scanning servers before install
checked 2026-11-17
Started from a post by @TheHackersNews, packaged by the editor. Original post