Skip to content
RCE Write-up Advanced

Render Unto Risk Cve 2025 11539 And The Fragility Of Grafanas Image Renderer

The Grafana Image Renderer plugin fails to sanitise the filePath parameter on its /render/csv endpoint, letting an attacker write arbitrary files. By writing .pak or .bin files that Chromium later loads, an attacker could achieve remote code execution.

gm0 Follow

Published on cybersecuritywriteups.com

In the ever-evolving landscape of observability platforms, Grafana stands tall due to its market share and popularity, until its image renderer makes it stumbles. CVE-2025–11539 exposes a critical flaw in the Grafana Image Renderer plugin (v1.0.0–4.0.16), allowing a threat actor to write arbitrary files via the…

gm0, on cybersecuritywriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the /render/csv endpoint passed a user-supplied filePath to a file write without sanitisation, allowing files to be placed where Chromium loads shared objects.

Impact

An attacker could write arbitrary files and, by planting .pak or .bin files that Chromium loads, potentially achieve remote code execution; the text notes the renderer is often deployed in isolated environments, which may limit exposure.

What the attacker needed

Access to the /render/csv endpoint; renderer reachable (often internal only)

The fix

The issue was fixed in version 4.0.17; the text also advises rotating the default authToken and restricting access to the /render/csv endpoint.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The Grafana Image Renderer is a helper program that turns dashboards into images. It accepted a file path from a request without checking it, so someone could make it save a file anywhere on the machine. Because the program uses a browser engine (Chromium) that loads certain files at startup, planting the right file there can let an attacker run their own code.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by gm0

View all

12 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.