The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-3128

CVE-2023-3128: Grafana Auth Bypass Vulnerability

CVE-2023-3128 is an authentication bypass flaw in Grafana that exploits Azure AD email validation, enabling account takeover in multi-tenant configurations. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-3128 Overview

CVE-2023-3128 is a critical authentication bypass vulnerability affecting Grafana when configured with Azure Active Directory (Azure AD) OAuth in multi-tenant environments. The vulnerability stems from Grafana's improper validation of Azure AD accounts, relying on the email claim field for authentication—a field that is neither unique nor immutable within Azure AD.

An attacker who can modify their Azure AD profile email field to match a legitimate Grafana user's email address can effectively impersonate that user, leading to complete account takeover. This is particularly severe in multi-tenant Azure AD configurations where multiple organizations share the same Grafana instance.

Critical Impact

This authentication bypass allows unauthenticated attackers to completely take over any Grafana user account, including administrator accounts, when Azure AD OAuth is configured with a multi-tenant application.

Affected Products

  • Grafana (Open Source Edition)
  • Grafana Enterprise Edition
  • All versions using Azure AD OAuth with multi-tenant configuration

Discovery Timeline

  • 2023-06-22 - CVE-2023-3128 published to NVD
  • 2025-02-13 - Last updated in NVD database

Technical Details for CVE-2023-3128

Vulnerability Analysis

The core issue lies in how Grafana authenticates users through Azure AD OAuth. When a user authenticates, Grafana extracts the email claim from the Azure AD token and uses it as the primary identifier for user lookup or creation. However, the email field in Azure AD user profiles has two critical characteristics that make it unsuitable for authentication: it is not unique across the directory, and users with appropriate permissions can modify their own email addresses.

In multi-tenant Azure AD configurations, this problem is amplified. An attacker from any tenant within the Azure AD ecosystem can create or modify their profile email to match a target user's email in Grafana. When the attacker authenticates through the Azure AD OAuth flow, Grafana trusts the email claim and grants access to the account associated with that email address.

This vulnerability is classified under CWE-290 (Authentication Bypass by Spoofing), as it allows an attacker to circumvent the authentication mechanism by spoofing their identity through a mutable, non-unique identifier.

Root Cause

The root cause is Grafana's trust in the email claim from Azure AD tokens without additional verification. The OAuth implementation assumes that the email field is a reliable, unique identifier—an assumption that does not hold true in Azure AD environments. Proper OAuth implementations should rely on immutable, guaranteed-unique identifiers such as the oid (Object ID) or sub (Subject) claims rather than user-modifiable attributes like email addresses.

Attack Vector

The attack is network-based and requires no privileges or user interaction, making it highly accessible to remote attackers. The attack flow proceeds as follows:

  1. The attacker identifies a target Grafana instance using Azure AD OAuth with multi-tenant configuration
  2. The attacker determines or guesses the email address of a privileged Grafana user (e.g., an administrator)
  3. The attacker modifies their own Azure AD profile email to match the target's email address
  4. The attacker initiates the Azure AD OAuth login flow on the target Grafana instance
  5. Azure AD authenticates the attacker and returns a token containing the spoofed email in the email claim
  6. Grafana validates the token and looks up the user based on the email claim
  7. Grafana grants the attacker access to the victim's account

The attack is particularly dangerous because it requires no exploitation of software bugs in the traditional sense—it merely abuses the design flaw in how Grafana validates user identity.

Detection Methods for CVE-2023-3128

Indicators of Compromise

  • Multiple authentication events for the same Grafana account originating from different Azure AD tenants or user object IDs
  • User account activity from unexpected geographic locations or IP addresses following an Azure AD OAuth login
  • Sudden changes in user permissions or dashboard configurations after OAuth authentication events
  • Authentication logs showing email address changes in Azure AD shortly before Grafana login attempts

Detection Strategies

  • Implement logging that captures the full Azure AD token claims, including oid, tid (tenant ID), and email, for correlation analysis
  • Create alerts for Grafana logins where the Azure AD tenant ID does not match expected organizational tenants
  • Monitor for discrepancies between the Azure AD oid and previously recorded object IDs for existing user accounts
  • Deploy SIEM rules to detect rapid successive logins from the same email address but different source characteristics

Monitoring Recommendations

  • Enable detailed authentication logging in Grafana to capture OAuth claim information
  • Configure Azure AD sign-in logs to alert on email profile modifications followed by third-party application access
  • Implement user behavior analytics to detect anomalous account activity post-authentication
  • Review Grafana access logs regularly for signs of unauthorized administrative actions

How to Mitigate CVE-2023-3128

Immediate Actions Required

  • Upgrade Grafana to a patched version immediately if using Azure AD OAuth with multi-tenant configuration
  • Restrict Azure AD OAuth configuration to single-tenant mode if multi-tenant is not required
  • Audit recent authentication logs for signs of account compromise
  • Review and revoke any suspicious API keys or sessions created during the exposure window

Patch Information

Grafana has released security patches to address this vulnerability. Organizations should update to the latest patched versions as detailed in the Grafana Security Advisory. The patch modifies the authentication logic to use more reliable Azure AD claims for user identification rather than the mutable email field.

Additional advisory information is available from:

  • GitHub Security Advisory GHSA-gxh2-6vvc-rrgp
  • NetApp Security Advisory

Workarounds

  • Configure the allowed_domains setting in Grafana to restrict authentication to specific email domains
  • Switch to single-tenant Azure AD application registration to limit the scope of potential attackers
  • Implement additional authentication factors or conditional access policies in Azure AD before accessing Grafana
  • Use Azure AD groups with the allowed_groups setting to restrict which users can authenticate to Grafana
bash
# Example Grafana configuration to restrict OAuth domains and groups
[auth.azuread]
enabled = true
allow_sign_up = false
allowed_domains = yourdomain.com
allowed_groups = grafana-users,grafana-admins

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGrafana

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.88%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-290
  • Technical References
  • NetApp Security Advisory
  • Vendor Resources
  • GitHub Security Advisory

  • Grafana Security Advisory
  • Related CVEs
  • CVE-2026-21724: Grafana OSS Auth Bypass Vulnerability

  • CVE-2021-39226: Grafana Auth Bypass Vulnerability

  • CVE-2025-3260: Grafana Dashboard Auth Bypass Vulnerability

  • CVE-2025-3454: Grafana Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English