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
    • 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-2022-21673

CVE-2022-21673: Grafana Auth Bypass Vulnerability

CVE-2022-21673 is an authentication bypass vulnerability in Grafana that allows API token holders to access unauthorized data via Forward OAuth Identity. This article covers technical details, affected versions, and patches.

Published: February 11, 2026

CVE-2022-21673 Overview

CVE-2022-21673 is an information disclosure vulnerability in Grafana, an open-source platform for monitoring and observability. 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.

Critical Impact

API token holders can impersonate the most recently authenticated OAuth user and access data they should not have authorization to view.

Affected Products

  • Grafana versions prior to 7.5.13
  • Grafana versions 8.x prior to 8.3.4
  • Fedora 34, 35, and 36 (via packaged Grafana)

Discovery Timeline

  • 2022-01-18 - CVE-2022-21673 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-21673

Vulnerability Analysis

This vulnerability represents an authorization bypass issue that occurs due to improper handling of OAuth identity forwarding in Grafana's data source proxy functionality. The attack requires several specific conditions to be exploitable: the Grafana instance must have data sources that support the Forward OAuth Identity feature, at least one data source must have this feature enabled, OAuth authentication must be configured, and usable API keys must exist in the environment.

When these conditions are met, an attacker with a valid API token can send queries to a data source with Forward OAuth Identity enabled. Instead of the request being properly authenticated with the API token's associated permissions, Grafana incorrectly forwards the OAuth credentials of the most recently logged-in user. This effectively allows the API token holder to assume the identity of another user when accessing backend data sources.

Root Cause

The root cause lies in Grafana's OAuth identity forwarding mechanism not properly distinguishing between authenticated user sessions and API token-based requests. The system fails to validate whether an OAuth identity should be forwarded when the request originates from an API token rather than an interactive user session. This results in a token confusion state where API token requests inherit cached OAuth credentials from a previously authenticated user.

Attack Vector

The attack is network-based and requires low privileges (a valid API token). An attacker needs to:

  1. Obtain a valid Grafana API token (through legitimate means or compromise)
  2. Identify data sources with Forward OAuth Identity enabled
  3. Send queries using the API token to these data sources
  4. The query executes with the OAuth identity of the most recently logged-in user

The vulnerability does not require user interaction and can be exploited programmatically through the Grafana API.

Detection Methods for CVE-2022-21673

Indicators of Compromise

  • Unusual data source queries originating from API token authentication where the authenticated OAuth user doesn't match expected API token ownership
  • Audit logs showing API token-based requests accessing data typically restricted to specific OAuth users
  • Unexpected data access patterns from service accounts or API integrations

Detection Strategies

  • Review Grafana audit logs for API token usage patterns that access OAuth-protected data sources
  • Monitor for queries to data sources with Forward OAuth Identity enabled that originate from API tokens rather than interactive sessions
  • Implement alerting on data access anomalies where API tokens access resources outside their expected scope

Monitoring Recommendations

  • Enable comprehensive audit logging in Grafana to track all data source queries
  • Monitor authentication events and correlate API token usage with OAuth session activity
  • Track data source access patterns to establish baselines and detect anomalous queries
  • Review which data sources have Forward OAuth Identity enabled and assess the risk exposure

How to Mitigate CVE-2022-21673

Immediate Actions Required

  • Upgrade Grafana to version 7.5.13 or later for the 7.x branch
  • Upgrade Grafana to version 8.3.4 or later for the 8.x branch
  • Review and audit all data sources with Forward OAuth Identity enabled
  • Assess API token usage and revoke unnecessary or suspicious tokens

Patch Information

Grafana has released security patches addressing this vulnerability. Users should upgrade to the following versions:

  • Grafana Release v7.5.13 for the 7.x series
  • Grafana Release v8.3.4 for the 8.x series

Additional details are available in the GitHub Security Advisory GHSA-8wjh-59cw-9xh4. Fedora users should apply the latest package updates as referenced in the Fedora Package Announcement.

Workarounds

  • Disable the Forward OAuth Identity feature on data sources where it is not strictly required
  • Restrict API token creation and distribution to minimize the attack surface
  • Implement network segmentation to limit API token access to Grafana instances
  • Review and reduce API token permissions to the minimum necessary scope

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

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.76%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200

  • NVD-CWE-Other
  • Technical References
  • Grafana Release v7.5.13

  • Grafana Release v8.3.4

  • GitHub Security Advisory GHSA-8wjh-59cw-9xh4

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20220303-0004
  • 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