CVE-2023-3128
Grafana vulnerability analysis and mitigation

Overview

CVE-2023-3128 is a critical authentication bypass vulnerability discovered in Grafana that affects versions 6.7.0 through 8.5.26, 9.2.0 through 9.2.19, and other versions prior to their respective patches. The vulnerability was disclosed on June 22, 2023, and impacts Grafana installations that use Azure AD OAuth configured with a multi-tenant application (Grafana Advisory, NVD).

Technical details

The vulnerability stems from Grafana's implementation of Azure AD OAuth authentication, where user validation is based solely on the email claim. Since the profile email field in Azure AD is not unique across tenants and can be easily modified, this creates a security weakness. The vulnerability has received a CVSS v3.1 base score of 9.8 (Critical), indicating its severe nature (NVD).

Impact

Successful exploitation of this vulnerability allows attackers to perform account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app. An attacker can gain complete control of a user's account, including access to private customer data and sensitive information. The vulnerability also bypasses the 'allowed_domains' configuration which should limit access to users belonging to specific domains (GitHub Advisory).

Exploitability

The vulnerability is exploitable in environments where Grafana is configured with Azure AD OAuth using a multi-tenant Azure application. An attacker can create a user in their own Azure AD tenant, modify the email property to match the target victim's email address, and then sign in to Grafana using these credentials to gain unauthorized access (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Grafana versions 10.0.1, 9.5.5, 9.4.13, 9.3.16, 9.2.20, and 8.5.27. For systems where immediate upgrade is not possible, mitigation options include adding an allowed_groups configuration to Azure AD setup or registering a single tenant application in Azure AD instead of a multi-tenant one (Security Online).

Additional resources


SourceThis report was generated using AI

Related Grafana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71235HIGH8.8
  • Grafana logoGrafana
  • grafana-prometheus
NoNoAug 05, 2026
CVE-2026-69152HIGH7.5
  • JavaScript logoJavaScript
  • grafana-elasticsearch
NoYesAug 03, 2026
CVE-2026-69153MEDIUM6.3
  • JavaScript logoJavaScript
  • logto
NoYesAug 03, 2026
CVE-2026-67316MEDIUM6.3
  • Grafana logoGrafana
  • python3-ceph-common
NoYesAug 01, 2026
CVE-2026-67312MEDIUM6.3
  • Grafana logoGrafana
  • grafana.src
NoYesAug 01, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management