CVE-2022-31130Grafana
High 7.5 No auth needed
Follow: this CVE · Grafana · Grafana We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Oct 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Grafana is an open source observability and data visualization platform. Versions of Grafana for endpoints prior to 9.1.8 and 8.5.14 could leak authentication tokens to some destination plugins under some conditions. The vulnerability impacts data source and plugin proxy endpoints with authentication tokens. The destination plugin could receive a user's Grafana authentication token. Versions 9.1.8 and 8.5.14 contain a patch for this issue. As a workaround, do not use API keys, JWT authentication, or any HTTP Header based authentication.
What to do
- Apply the vendor's security update for Grafana.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/grafana/grafana |
≥ 9.0.0 < 9.1.8 |
9.1.8 |
go get github.com/grafana/grafana@v9.1.8 |
| Go | github.com/grafana/grafana |
≥ 7.0.0 < 8.5.14 |
8.5.14 |
go get github.com/grafana/grafana@v8.5.14 |
| Go | github.com/grafana/grafana |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-jv32-5578-pxjc, GO-2024-2851). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| grafana | grafana | < 8.5.14 |
| grafana | grafana | ≥ 9.0.0 < 9.1.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory