CVE-2022-31130
HIGH 7.5CVSS 3.1Grafana Data source and plugin proxy endpoints leaking authentication tokens to some destination plugins
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.
- Published
- 13 Oct 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-522
- Also known as
- BIT-grafana-2022-31130GHSA-jv32-5578-pxjcGO-2024-2851
- Sources
- NVDJSONOSV GHSA-jv32-5578-pxjcJSONOSV GO-2024-2851JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* |
< 8.5.14 | 8.5.14 |
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.1.8 | 9.1.8 |
| OSV | Go | github.com/grafana/grafana | >= 9.0.0, < 9.1.8 | 9.1.8 |
| OSV | Go | github.com/grafana/grafana | >= 7.0.0, < 8.5.14 | 8.5.14 |
| OSV | Go | github.com/grafana/grafana | all versions |
References
- https://github.com/grafana/grafana/commit/4dd56e4dabce10007bf4ba1059bf54178c35b177 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/grafana/grafana/commit/9da278c044ba605eb5a1886c48df9a2cb0d3885f · Patch, Third Party Advisory, WEB, FIX
- https://github.com/grafana/grafana/releases/tag/v9.1.8 · Release Notes, Third Party Advisory, WEB
- https://github.com/grafana/grafana/security/advisories/GHSA-jv32-5578-pxjc · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-31130 · ADVISORY
- https://github.com/grafana/grafana · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Oct 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2024)