Skip to content
OpenAdvisories
Critical · 9.4 Public exploit CVE-2023-3128 BIT-grafana-2023-3128EUVD-2023-1845GHSA-gxh2-6vvc-rrgpGHSA-mpv3-g8m3-3fjc

Grafana vulnerable to Authentication Bypass by Spoofing

Published Jun 22, 2023 · Updated Feb 13, 2025 · Assigned by GRAFANA

Description

Grafana is validating Azure AD accounts based on the email claim.

On Azure AD, the profile email field is not unique and can be easily modified.

This leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app.

Affected products

VendorProductAffectedFixed
Grafana Grafana 9.5.0 – < 9.5.4, 9.4.0 – < 9.4.13, 9.3.0 – < 9.3.16, 9.2.0 – < 9.2.20, 6.7.0 – < 8.5.27 9.5.4
Grafana Grafana Enterprise 9.5.0 – < 9.5.4, 9.4.0 – < 9.4.13, 9.3.0 – < 9.3.16, 9.2.0 – < 9.2.20, 6.7.0 – < 8.5.27 9.5.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.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS grafana No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 grafana 9.0.9-3.el9_2 RHSA-2023:6420, RHSA-2023:4030
RHEL 8 grafana 9.2.10-7.el8_9 RHSA-2023:6972
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Ceph Storage 7 ceph +25 2:18.2.1-194.el8cp RHSA-2024:3925
Red Hat Ceph Storage 7 cephadm 2:18.2.1-194.el9cp RHSA-2024:3925
Red Hat Ceph Storage 7 cephadm-ansible 1:3.2.0-1.el9cp RHSA-2024:3925
Red Hat Ceph Storage 7 gperftools +1 1:2.7-9.el8cp RHSA-2024:3925
Red Hat Ceph Storage 7 liboath +1 2.6.2-3.el8cp RHSA-2024:3925
Red Hat Ceph Storage 7 libunwind 1.3.1-3.el8cp RHSA-2024:3925
Red Hat Ceph Storage 7 thrift 0.13.0-2.el8cp RHSA-2024:3925

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 grafana 9.0.9-3.el9_2.alma ALSA-2023:4030
AlmaLinux 8 grafana 9.2.10-7.el8_9.alma.1 ALSA-2023:6972

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 grafana 9.0.9-3.el9_2 RLSA-2023:4030
ReleasePackageFixed inAdvisory
SLES 15 SP6 golang-github-prometheus-promu 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
SLES 15 SP6 grafana 10.4.13-150200.3.59.1 SUSE-SU-2025:0545-1
SLES 15 SP6 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES 15 SP5 grafana 9.5.5-150200.3.44.1 SUSE-SU-2023:2917-1
SLES 15 SP5 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES 15 SP4 grafana 9.5.5-150200.3.44.1 SUSE-SU-2023:2917-1
SLES 15 SP4 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES 15 SP3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES for SAP 15 SP4 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLES for SAP 15 SP3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLE HPC 15 SP5 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLE HPC 15 SP4 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SLE HPC 15 SP3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE Manager Server 4.3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE Manager Proxy 4.3 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools for SLE Micro 5 dracut-saltboot 0.1.1728559936.c16d4fb-150000.1.56.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools for SLE Micro 5 uyuni-tools 0.1.28-150000.1.16.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools Beta for SLE Micro 5 dracut-saltboot 0.1.1681904360.84ef141-159000.3.30.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 golang-github-QubitProducts-exporter_exporter 0.4.0-159000.4.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 prometheus-blackbox_exporter 0.24.0-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools Beta for SLE Micro 5 uyuni-proxy-systemd-services 5.0.1-159000.3.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 ansible 2.9.27-159000.3.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 dracut-saltboot 0.1.1681904360.84ef141-159000.3.30.1 SUSE-SU-2025:0525-1, SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-QubitProducts-exporter_exporter 0.4.0-159000.4.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-boynux-squid_exporter 1.6-159000.4.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-lusitaniae-apache_exporter 1.0.0-159000.4.12.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 golang-github-prometheus-prometheus 2.45.0-159000.6.33.1 SUSE-SU-2025:0525-1, SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 grafana 9.5.5-150000.1.51.1 SUSE-SU-2025:0525-1, SUSE-SU-2024:0196-1, SUSE-SU-2023:2915-1
SUSE Manager Client Tools 15 mgr-push 5.0.1-159000.4.21.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 prometheus-blackbox_exporter 0.24.0-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 prometheus-postgres_exporter 0.10.1-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 python-hwdata 2.3.5-159000.5.13.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 python-pyvmomi 6.7.3-159000.3.6.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 rhnlib 5.0.1-159000.6.30.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 spacecmd 5.0.1-159000.6.42.1 SUSE-SU-2025:0525-1, SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 spacewalk-client-tools 5.0.1-159000.6.48.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 supportutils-plugin-salt 1.2.2-159000.5.9.1 SUSE-SU-2025:0525-1, SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 supportutils-plugin-susemanager-client 5.0.1-159000.6.15.1 SUSE-SU-2025:0525-1, SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 uyuni-common-libs 5.0.1-159000.3.33.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 uyuni-proxy-systemd-services 5.0.1-159000.3.9.1 SUSE-SU-2024:0196-1
SUSE Manager Client Tools 15 uyuni-tools 0.1.28-150000.1.16.1 SUSE-SU-2025:0525-1
SUSE Manager Client Tools 12 golang-github-QubitProducts-exporter_exporter 0.4.0-4.6.2 SUSE-SU-2024:0191-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.26.0-4.12.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-prometheus-node_exporter 1.5.0-4.15.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-prometheus-prometheus 2.45.0-4.33.3 SUSE-SU-2025:0524-1, SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 golang-github-prometheus-promu 0.14.0-4.12.2 SUSE-SU-2025:0524-1, SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 grafana 9.5.5-1.51.1 SUSE-SU-2025:0524-1, SUSE-SU-2024:0191-1, SUSE-SU-2023:2916-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-push 5.0.1-4.21.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 prometheus-blackbox_exporter 0.24.0-3.6.3 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 prometheus-postgres_exporter 0.10.1-3.6.4 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 python-hwdata 2.3.5-15.12.2 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 rhnlib 5.0.1-24.30.3 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 spacecmd 5.0.1-41.42.3 SUSE-SU-2025:0524-1, SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 supportutils-plugin-salt 1.2.2-9.9.2 SUSE-SU-2025:0524-1, SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 supportutils-plugin-susemanager-client 5.0.1-9.15.2 SUSE-SU-2025:0524-1, SUSE-SU-2024:0191-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 5.0.1-3.33.3 SUSE-SU-2024:0191-1
SUSE Manager Client Tools 12 uyuni-tools 0.1.28-1.16.1 SUSE-SU-2025:0524-1
SUSE Enterprise Storage 7.1 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed grafana 10.0.1-1.1 openSUSE-SU-2024:13018-1
openSUSE Leap 15.6 dracut-saltboot 0.1.1728559936.c16d4fb-150000.1.56.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 golang-github-prometheus-promu 0.17.0-150000.3.24.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 grafana 10.4.13-150200.3.59.1 SUSE-SU-2025:0545-1
openSUSE Leap 15.6 spacecmd 5.0.11-150000.3.130.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 supportutils-plugin-salt 1.2.3-150000.3.16.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.6 supportutils-plugin-susemanager-client 5.0.4-150000.3.27.1 SUSE-SU-2025:0525-1
openSUSE Leap 15.5 grafana 9.5.5-150200.3.44.1 SUSE-SU-2023:2917-1
openSUSE Leap 15.4 grafana 9.5.5-150200.3.44.1 SUSE-SU-2023:2917-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 grafana 9.0.9-3.el9_2 ELSA-2023-4030
Oracle Linux 8 grafana 9.2.10-7.el8_9 ELSA-2023-6972

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/grafana/grafana >= 9.4.0, < 9.4.13 9.4.13 GHSA-mpv3-g8m3-3fjc
Go github.com/grafana/grafana >= 9.3.0, < 9.3.16 9.3.16 GHSA-mpv3-g8m3-3fjc
Go github.com/grafana/grafana >= 9.0.0, < 9.2.20 9.2.20 GHSA-mpv3-g8m3-3fjc
Go github.com/grafana/grafana < 8.5.27 8.5.27 GHSA-mpv3-g8m3-3fjc

Advisories 20

References