CVE-2025-3454 Grafana's datasource proxy API allows authorization checks to be bypassed
Attackers with minimal permissions can bypass authorization checks to read data from Alertmanager and Prometheus datasources via URL manipulation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-3454?
CVE-2025-3454 is a medium-severity authentication bypass vulnerability in Grafana, published on 2 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
This vulnerability in Grafana's datasource proxy API allows authorization checks to be bypassed by adding an extra slash character in the URL path.
Users with minimal permissions could gain unauthorized read access to GET endpoints in Alertmanager and Prometheus datasources.
The issue primarily affects datasources that implement route-specific permissions, including Alertmanager and certain Prometheus-based datasources.
Weakness: CWE-285
Which versions are affected by CVE-2025-3454?
4 open source packages ship an affected version, including github.com/grafana/grafana and grafana.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | From 0.0.0-20210414170620-dadccdda06e6 | None |
github.com/grafana/grafana Go | From 0.0.0-20210414170620-dadccdda06e6 | 0.0.0-20250424191517-1f707d16ed5d |
github.com/grafana/grafana Go | From 0.0.0-20210414170620-dadccdda06e6 | 0.0.0-20250424191517-1f707d16ed5d |
grafana Bitnami | From 10.4.0 | 10.4.17, 11.5.3, 11.6.0 |
How do I fix CVE-2025-3454?
Upgrade github.com/grafana/grafana to 0.0.0-20250424191517-1f707d16ed5d or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-3454 being exploited?
There is no known exploitation of CVE-2025-3454 in the wild and no public exploit code.
Sources
Also known as BIT-grafana-2025-3454, GHSA-9j65-rv5x-4vrf, GO-2025-3742, MINI-2hrv-76pp-pjj4, MINI-7h3r-g4h9-wwmg, MINI-7mxg-fcwv-jgqq and 15 more.