GrafanaGhost: The AI That Leaked Everything Without Being Hacked

GrafanaGhost: The AI That Leaked Everything Without Being Hacked

GrafanaGhost: The AI That Leaked Everything Without Being Hacked

Image: Prostock-studio/Adobe

A newly disclosed vulnerability reveals how AI assistants can become invisible channels for data exfiltration — and why security enforcement must shift to the data layer.

Écrit par
Tim Freestone
Tim Freestone
Apr 13, 2026

No credentials were stolen. No alerts were triggered. And yet, the data slipped out anyway.

On April 7, 2026, security researchers at Noma Security disclosed a vulnerability they named GrafanaGhost. It silently exfiltrated financial metrics, infrastructure telemetry, and customer records from Grafana environments — without credentials, without phishing, and without a single monitoring alert.

The industry immediately framed this as an AI data access control problem. That framing is incomplete — and the distinction matters more than the patch.

Grafana has RBAC on user-facing data access. GrafanaGhost never triggered it. The attack never operated on behalf of a user. It operated through trusted back-end processes with system-level privileges, exploiting two architectural gaps that user-level access controls were never designed to address.

Read more about data-layer controls for AI systems.

What actually happened

The attack did not work the way most coverage has described.

An attacker sent crafted web requests to a Grafana instance. The requests themselves were unremarkable — but the URL query parameters contained hidden AI prompt instructions. Grafana’s event monitoring logged those requests as normal incoming traffic. The malicious payload was now stored deep inside the system, indistinguishable from legitimate event data.

Later, trusted back-end enrichment processes ran. These processes — designed to correlate, analyze, and prepare event data for dashboards — operate with system-level privileges because they need access to nearly all the data. They read from multiple sources and write enriched information back into the database. They are not designed to serve data to users. They are not subject to user-level RBAC.

During the enrichment process, the analysis of the attacker’s event encountered the hidden AI prompt and executed it. The AI component — operating within the back-end process’s privileged context — built a dashboard nobody requested, embedded sensitive data inside image tags, and made it accessible externally.

Noma’s researchers found that the keyword “INTENT” caused the AI’s guardrails to collapse entirely. A separate URL validation flaw disguised an external server as an internal one.

Every SIEM, DLP tool, and endpoint agent saw a back-end process doing what back-end processes do. Nothing triggered. 

Two Gaps… and neither is primarily about data access controls

GrafanaGhost exposed two distinct architectural failures. Understanding them correctly is essential to preventing the next variant.

Gap one: the input trust boundary was missing

External data — malicious URL parameters — was stored in event logs and later processed by AI-enabled back-end processes without being treated as potentially adversarial. The principle that external input must be validated before any system processes it — the same principle that drives web application input checking and WAFs — was not applied to AI-processed event data.

Nobody thought of monitoring data as an attack vector. It was internal. It was operational. It was supposed to be safe. That assumption was the first failure.

Advertisement

Gap two: the process had a scope it was never designed to use

The enrichment process needed broad data access. That is defensible.

What it did not need was the ability to call routines that render dashboards, generate image tags, or make outbound requests to external servers. Those are output capabilities. The process was designed to read and write data, not to produce user-facing content or communicate externally.

Least privilege applies to functional scope — which APIs, rendering routines, and output channels a process can invoke — not just to data access. Nobody actively prevented the back-end process from accessing capabilities its designers never intended it to use. That scoping failure is the containment gap.  

Model-level guardrails failed, too — but that is the third layer

Grafana built prompt injection defenses. Researchers bypassed them with one keyword.

That is a real failure. But even if the guardrails had held, the underlying architecture would still have been broken. Untrusted input was reaching a privileged process, and the process was outputting beyond its intended function.

Fix the keyword bypass, and you still have a back-end process that can render dashboards and make outbound requests when it should only be enriching data. Model-level guardrails are a useful defense layer. They are not a substitute for input validation and process containment. 

The broader pattern

GrafanaGhost is one of six AI vulnerabilities disclosed between mid-2025 and April 2026. The other five — EchoLeak in Microsoft 365 Copilot, ForcedLeak in Salesforce Agentforce, GeminiJack in Google Gemini Enterprise, Reprompt in Microsoft Copilot, and a supply chain attack on the OpenAI plugin ecosystem — follow a different pattern.

In those cases, the AI operated on behalf of a user, had broad data access, and no independent data-layer control evaluated each request. Data access governance — per-request authentication, attribute-based access control, credential isolation, audit trails — directly addresses that failure class.

GrafanaGhost is a different animal. It bypassed the user layer entirely. The fix is not better data access controls. It is input validation for AI-processed data and functional scoping for privileged processes.

The Kiteworks Data Security and Compliance Risk: 2026 Forecast Report identified a 15–20-point gap between governance and containment controls. GrafanaGhost is the containment gap made operational — the inability to constrain what AI-enabled processes are authorized to do, not just what data they can access

Advertisement

What needs to change

First, treat all data that enters the system from external sources as adversarial — including event logs and monitoring data. If a back-end AI process consumes it, it must be validated. The same input-checking discipline applied to web-facing user interfaces must extend to AI-processed operational data.

Second, scope back-end AI processes to their intended function. If a process needs broad data read access, that does not mean it also needs the ability to render content, generate outbound requests, or build dashboards. Constrain functional scope as aggressively as you constrain data scope.

Third, red-team for both failure patterns. Test AI integrations for prompt injection through user-facing channels (the five-vulnerability pattern) and for prompt injection through event data, log entries, and metadata consumed by back-end processes (the GrafanaGhost pattern). The Agents of Chaos study, published in February 2026, documented AI agents destroying infrastructure and disclosing personal data in live environments. Both patterns are present in production systems today.

GrafanaGhost is patched. The two architectural gaps it exposed — untrusted input processed without validation, and privileged processes with functional scope nobody questioned — are not.

Every organization running AI-enabled back-end processes should ask: Does external data reach our AI processes without validation? And can those processes do things their designers never intended?

If the answer to either question is yes — or “I don’t know” — the work is not done.

For a parallel look at how trusted components can become attack vectors, read how a popular Android SDK turned into a malware bridge exposing 50 million users.

Tim Freestone

Tim Freestone, the chief strategy officer at Kiteworks, is a senior leader with more than 17 years of expertise in marketing leadership, brand strategy, and process and organizational optimization. Since joining Kiteworks in 2021, he has played a pivotal role in shaping the global landscape of content governance, compliance, and protection.