Description
Grafana is an open-source platform for monitoring and observability. In affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access. This attack relies on the Grafana instance having data sources that support the Forward OAuth Identity feature, the Grafana instance having a data source with the Forward OAuth Identity feature toggled on, the Grafana instance having OAuth enabled, and the Grafana instance having usable API keys. This issue has been patched in versions 7.5.13 and 8.3.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| grafana | grafana | >= 7.2.0, < 7.5.13, >= 8.0.0, < 8.3.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | grafana | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | grafana | 7.5.15-3.el9 | RHSA-2022:8057 |
| RHEL 8 | grafana | 7.5.15-3.el8 | RHSA-2022:7519 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | grafana | 7.5.15-3.el9 | ALSA-2022:8057 |
| AlmaLinux 8 | grafana | 7.5.15-3.el8 | ALSA-2022:7519 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | grafana | 7.5.15-3.el9 | RLSA-2022:8057 |
| Rocky Linux 8 | grafana | 7.5.15-3.el8 | RLSA-2022:7519 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SLES 12 SP4 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SLES 12 SP3 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SLES for SAP 12 SP4 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SLES for SAP 12 SP3 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE OpenStack Cloud Crowbar 9 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE OpenStack Cloud Crowbar 8 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE OpenStack Cloud 9 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE OpenStack Cloud 8 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE Manager Server Module 4.2 | prometheus-postgres_exporter | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | grafana | 8.3.5-150000.1.30.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | mgr-cfg | 4.2.8-150000.1.24.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | mgr-osad | 4.2.8-150000.1.36.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | mgr-push | 4.2.5-150000.1.18.2 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | mgr-virtualization | 4.2.4-150000.1.26.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | prometheus-postgres_exporter | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | rhnlib | 4.2.6-150000.3.34.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | spacecmd | 4.2.16-150000.3.77.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | spacewalk-client-tools | 4.2.18-150000.3.59.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | spacewalk-koan | 4.2.6-150000.3.27.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | spacewalk-oscap | 4.2.4-150000.3.18.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 15 | suseRegisterInfo | 4.2.6-150000.3.21.1 | SUSE-SU-2022:1396-1 |
| SUSE Manager Client Tools 12 | golang-github-QubitProducts-exporter_exporter | 0.4.0-1.6.1 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | golang-github-boynux-squid_exporter | 1.6-4.9.2 | SUSE-SU-2024:0191-1 |
| SUSE Manager Client Tools 12 | golang-github-lusitaniae-apache_exporter | 1.0.0-4.12.4 | SUSE-SU-2024:0191-1 |
| SUSE Manager Client Tools 12 | golang-github-prometheus-alertmanager | 0.23.0-1.12.3 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | golang-github-prometheus-prometheus | 2.45.0-4.33.3 | SUSE-SU-2024:0191-1 |
| SUSE Manager Client Tools 12 | golang-github-prometheus-promu | 0.14.0-4.12.2 | SUSE-SU-2024:0191-1 |
| SUSE Manager Client Tools 12 | grafana | 8.3.5-1.30.3 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | kiwi-desc-saltboot | 0.1.1687520761.cefb248-4.15.2 | SUSE-SU-2024:0191-1 |
| SUSE Manager Client Tools 12 | mgr-cfg | 4.3.6-1.27.4 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | mgr-custom-info | 4.3.3-1.18.1 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | mgr-daemon | 4.3.4-1.32.3 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | mgr-osad | 4.3.6-1.39.4 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | mgr-push | 4.3.4-1.21.4 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | mgr-virtualization | 4.3.5-1.29.3 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | prometheus-blackbox_exporter | 0.19.0-1.8.2 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | prometheus-postgres_exporter | 0.10.0-1.8.2 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | python-hwdata | 2.3.5-12.9.1 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | rhnlib | 4.3.4-21.43.3 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | spacecmd | 4.3.11-38.103.3 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | spacewalk-client-tools | 4.3.9-52.71.3 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | spacewalk-koan | 4.3.5-24.33.3 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | spacewalk-oscap | 4.3.5-19.27.1 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | spacewalk-remote-utils | 4.3.3-24.24.3 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | supportutils-plugin-salt | 1.2.0-6.16.1 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | supportutils-plugin-susemanager-client | 4.3.2-6.24.1 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | suseRegisterInfo | 4.3.3-25.27.3 | SUSE-SU-2022:2134-1 |
| SUSE Manager Client Tools 12 | system-user-grafana +1 | 1.0.0-3.7.2 | SUSE-SU-2024:0191-1 |
| SUSE Manager Client Tools 12 | uyuni-common-libs | 4.3.4-1.21.3 | SUSE-SU-2024:0191-1, SUSE-SU-2022:2134-1 |
| SUSE HPE Helion OpenStack 8 | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE Enterprise Storage 6 | grafana | 8.5.13-150100.3.12.1 | SUSE-SU-2022:3676-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | grafana | 8.3.4-1.1 | openSUSE-SU-2024:11816-1 |
| openSUSE Leap 15.4 | grafana | 8.3.5-150200.3.21.1 | SUSE-FU-2022:1419-1 |
| openSUSE Leap 15.3 | grafana | 8.3.5-150200.3.21.1 | SUSE-FU-2022:1419-1 |
| openSUSE Leap 15.3 | prometheus-postgres_exporter | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| openSUSE Leap 15.3 | rhnlib | 4.2.6-150000.3.34.1 | SUSE-SU-2022:1396-1 |
| openSUSE Leap 15.3 | spacecmd | 4.2.16-150000.3.77.1 | SUSE-SU-2022:1396-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | grafana | 8.3.4-r0 | — |
| Alpine v3.23 | grafana | 8.3.4-r0 | — |
| Alpine v3.22 | grafana | 8.3.4-r0 | — |
| Alpine v3.21 | grafana | 8.3.4-r0 | — |
| Alpine v3.20 | grafana | 8.3.4-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | grafana | 8.3.4-r0 | — |
| Alpine v3.18 | grafana | 8.3.4-r0 | — |
| Alpine v3.17 | grafana | 8.3.4-r0 | — |
| Alpine v3.16 | grafana | 8.3.4-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | grafana | 7.5.15-3.el9 | ELSA-2022-8057 |
| Oracle Linux 8 | grafana | 7.5.15-3.el8 | ELSA-2022-7519 |
Advisories 15
- ALSA-2022:8057 Important: grafana security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:7519 Moderate: grafana security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:8057 Red Hat Security Advisory: grafana security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2022:7519 Red Hat Security Advisory: grafana security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RLSA-2022:8057 Important: grafana security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:7519 Moderate: grafana security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2022:3676-1 Security update for grafana SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-FU-2022:1419-1 Feature update for grafana SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0191-1 Security Beta update for SUSE Manager Client Tools SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11816-1 grafana-8.3.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1396-1 Security update for SUSE Manager Client Tools SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2134-1 Security update for SUSE Manager Client Tools SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-0406 Grafana: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jan 23, 2024
- ELSA-2022-8057 Important: grafana security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 22, 2022
- ELSA-2022-7519 Moderate: grafana security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 15, 2022
References
- https://github.com/grafana/grafana/security/advisories/GHSA-8wjh-59cw-9xh4
- https://github.com/grafana/grafana/releases/tag/v7.5.13
- https://github.com/grafana/grafana/releases/tag/v8.3.4
- https://security.netapp.com/advisory/ntap-20220303-0004/
- FEDORA-2022-83405f9d5b vendor-advisory
- FEDORA-2022-9dd03cab55 vendor-advisory
- FEDORA-2022-c5383675d9 vendor-advisory