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-23498

CVE-2022-23498: Grafana Session Hijacking Vulnerability

CVE-2022-23498 is an information disclosure flaw in Grafana that allows session hijacking through datasource query caching. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 18, 2026

CVE-2022-23498 Overview

CVE-2022-23498 is a session hijacking vulnerability in Grafana, the popular open-source platform for monitoring and observability. When datasource query caching is enabled, Grafana caches all headers including the grafana_session cookie. This improper handling of sensitive session data allows any authenticated user who queries a datasource with caching enabled to potentially acquire another user's session, leading to unauthorized access and account takeover.

Critical Impact

Authenticated attackers can hijack other users' sessions by exploiting the datasource query caching mechanism, potentially gaining access to sensitive monitoring data, dashboards, and administrative functions depending on the hijacked user's privileges.

Affected Products

  • Grafana versions 8.3.0-beta1 through 9.2.9
  • Grafana versions 9.3.0 through 9.3.3
  • Grafana Grafana

Discovery Timeline

  • 2023-02-03 - CVE CVE-2022-23498 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-23498

Vulnerability Analysis

This vulnerability stems from an insecure caching implementation in Grafana's datasource query caching feature. When caching is enabled for a datasource, Grafana incorrectly includes all HTTP headers in the cached response, including the sensitive grafana_session cookie. This design flaw creates a session hijacking condition where subsequent users querying the same datasource can retrieve cached session tokens belonging to other users.

The vulnerability is classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), as the system inadvertently exposes authentication credentials through the caching mechanism. An attacker with low privileges (any authenticated user) can exploit this vulnerability over the network without any user interaction required.

Root Cause

The root cause lies in Grafana's datasource query caching implementation, which fails to properly filter sensitive authentication headers before storing cached responses. The caching mechanism was designed to improve query performance but did not account for the security implications of caching session-related data. Specifically, the grafana_session cookie is treated as a regular header and included in cached responses, rather than being excluded as sensitive authentication material.

Attack Vector

The attack vector requires network access to a Grafana instance where datasource query caching is enabled. An authenticated attacker executes a query against a cached datasource. If another user has previously queried the same datasource, their session token may be present in the cached response. The attacker can then extract this session token and use it to impersonate the victim user, gaining access to their dashboards, data sources, and any administrative functions they may have access to.

The attack is particularly concerning in multi-tenant or shared Grafana environments where users with different privilege levels access the same datasources. A low-privileged user could potentially hijack an administrator's session, leading to complete compromise of the Grafana instance.

Detection Methods for CVE-2022-23498

Indicators of Compromise

  • Unusual session activity where a single session token appears to be used from multiple IP addresses or geographic locations
  • Audit logs showing user actions inconsistent with normal behavior patterns for that account
  • Multiple concurrent sessions for the same user from different endpoints
  • Unexpected datasource queries from users who don't typically access those resources

Detection Strategies

  • Monitor Grafana authentication logs for session anomalies and concurrent access patterns
  • Implement network-level monitoring to detect session token reuse across different client IP addresses
  • Review datasource caching configurations to identify potentially vulnerable deployments
  • Analyze Grafana audit logs for privilege escalation or unauthorized data access attempts

Monitoring Recommendations

  • Enable comprehensive audit logging in Grafana to track all authentication and authorization events
  • Implement alerting for session anomalies such as geographic impossibility or rapid IP changes
  • Monitor for bulk data access or unusual query patterns that might indicate session compromise
  • Establish baseline user behavior profiles to detect deviations indicative of account takeover

How to Mitigate CVE-2022-23498

Immediate Actions Required

  • Upgrade Grafana to version 9.2.10 or 9.3.4 or later immediately
  • If immediate upgrade is not possible, disable datasource query caching for all datasources as a temporary mitigation
  • Invalidate all active sessions and force re-authentication for all users
  • Review audit logs for signs of session hijacking or unauthorized access

Patch Information

Grafana has released security patches addressing this vulnerability. Organizations should upgrade to Grafana version 9.2.10 or 9.3.4 or later. The patches properly exclude sensitive authentication headers from the datasource query cache, preventing session token leakage.

For detailed patch information, refer to the Grafana Security Advisory GHSA-2j8f-6whh-frc8.

Workarounds

  • Disable datasource query caching for all datasources until the patch can be applied
  • Implement network segmentation to limit which users can access sensitive datasources
  • Consider implementing additional session validation controls such as IP binding or shorter session timeouts
  • Monitor for suspicious activity and be prepared to invalidate sessions if compromise is suspected
bash
# Configuration example - Disable datasource query caching in Grafana
# In grafana.ini configuration file:
[caching]
# Disable caching to mitigate CVE-2022-23498
enabled = false

# Alternatively, disable caching per-datasource through the Grafana UI
# Navigate to Configuration > Data Sources > [Your Datasource] > Query Caching
# Set "Enable caching" to OFF

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGrafana

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.11%

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

  • NVD-CWE-Other
  • Technical References
  • NetApp Security Advisory
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27877: Grafana Information Disclosure Vulnerability

  • CVE-2026-28377: Grafana Tempo Key Exposure Vulnerability

  • CVE-2025-3415: Grafana Information Disclosure Vulnerability

  • CVE-2024-8986: Grafana Plugin SDK Credential Exposure Flaw
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