Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-1387

CVE-2023-1387: Grafana Authentication Bypass Vulnerability

CVE-2023-1387 is an authentication bypass vulnerability in Grafana that allows JWT tokens to leak to data sources when url_login is enabled. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 11, 2026

CVE-2023-1387 Overview

Grafana, a widely-used open-source platform for monitoring and observability, contains an information disclosure vulnerability that can lead to JWT token leakage. Starting with the 9.1 branch, Grafana introduced the ability to search for a JWT in the URL query parameter auth_token and use it as the authentication token. When the url_login configuration option is enabled (disabled by default), the JWT token may be inadvertently sent to configured data sources.

If an attacker has access to a data source receiving this leaked token, they can capture and reuse the JWT to authenticate to the Grafana instance. This vulnerability enables unauthorized access to sensitive monitoring data and potentially full administrative control depending on the privileges associated with the leaked token.

Critical Impact

JWT authentication tokens can be leaked to data sources, enabling attackers with data source access to impersonate legitimate users and gain unauthorized access to Grafana dashboards and configurations.

Affected Products

  • Grafana versions 9.1.0 and later with url_login configuration enabled
  • Grafana instances configured to pass JWT tokens via URL query parameters
  • Organizations using Grafana with external data sources that may be accessible to unauthorized parties

Discovery Timeline

  • April 26, 2023 - CVE-2023-1387 published to NVD
  • February 13, 2025 - Last updated in NVD database

Technical Details for CVE-2023-1387

Vulnerability Analysis

This vulnerability is classified as an Information Exposure issue (CWE-200), where sensitive authentication credentials are inadvertently disclosed to unintended parties. The core problem lies in how Grafana handles JWT tokens when the url_login feature is enabled.

When a user authenticates using a JWT passed via the auth_token URL query parameter, Grafana may forward this token to configured data sources during subsequent API calls or data queries. This behavior creates an unintended information disclosure channel where authentication credentials leak beyond their intended scope.

The attack is network-based and requires no privileges or user interaction to exploit, making it particularly concerning for organizations with externally accessible data sources or shared infrastructure.

Root Cause

The root cause of this vulnerability stems from the design decision to support JWT authentication via URL query parameters without properly sanitizing or stripping these tokens from requests forwarded to data sources. When url_login is enabled in Grafana's configuration, the application accepts JWTs from the auth_token query parameter but fails to adequately prevent this sensitive token from being included in outbound requests to configured data sources.

This creates a trust boundary violation where authentication tokens intended solely for Grafana authentication are inadvertently shared with external systems that may not have the same security controls or access restrictions.

Attack Vector

The attack requires the following conditions to be present:

  1. Grafana instance running version 9.1.0 or later
  2. The url_login configuration option must be enabled
  3. Users must authenticate using JWT tokens passed via the auth_token URL query parameter
  4. The attacker must have access to a data source that receives forwarded requests from Grafana

An attacker positioned to observe traffic to a data source or with compromised access to the data source itself can capture the leaked JWT token. This token can then be reused to authenticate directly to the Grafana instance, potentially gaining full access to dashboards, alerts, and administrative functions depending on the privileges of the original user.

Detection Methods for CVE-2023-1387

Indicators of Compromise

  • Unexpected authentication sessions from unusual IP addresses or geographic locations
  • Data source logs showing JWT tokens in query parameters or request headers
  • Multiple simultaneous sessions using the same JWT token from different source IPs
  • Unusual access patterns to dashboards or administrative functions

Detection Strategies

  • Review data source access logs for evidence of JWT tokens appearing in request parameters
  • Implement network traffic analysis to detect JWT tokens being transmitted to external data sources
  • Enable comprehensive audit logging in Grafana to track authentication events and session usage
  • Monitor for unauthorized API calls using captured authentication tokens

Monitoring Recommendations

  • Enable and review Grafana audit logs regularly for suspicious authentication patterns
  • Configure alerting for authentication anomalies such as session reuse from multiple IPs
  • Monitor data source query logs for evidence of leaked authentication credentials
  • Implement intrusion detection rules to identify JWT token leakage patterns in network traffic

How to Mitigate CVE-2023-1387

Immediate Actions Required

  • Disable the url_login configuration option if not explicitly required for your use case
  • Review and rotate any JWT tokens that may have been exposed to data sources
  • Audit data source access logs to identify potential token compromise
  • Implement network segmentation to limit data source accessibility

Patch Information

Grafana has released security updates addressing this vulnerability. Organizations should upgrade to the latest patched versions as specified in the Grafana Security Advisory CVE-2023-1387. Additional details are available in the GitHub Security Advisory GHSA-5585.

NetApp has also released guidance for affected products in their NetApp Security Advisory NTAP-20230609-0003.

Workarounds

  • Set url_login = false in the Grafana configuration file to disable URL-based JWT authentication
  • Implement alternative authentication mechanisms such as header-based JWT authentication that is not susceptible to this leakage
  • Apply network-level controls to prevent data sources from being accessible to untrusted parties
  • Consider implementing token binding or short-lived JWT tokens to minimize the window of exploitation if tokens are leaked
bash
# Configuration example
# In grafana.ini or custom.ini, ensure url_login is disabled:
[auth.jwt]
enabled = true
url_login = false
header_name = X-JWT-Assertion

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

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.29%

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

  • NVD-CWE-noinfo
  • Technical References
  • NetApp Security Advisory NTAP-20230609-0003
  • Vendor Resources
  • GitHub Security Advisory GHSA-5585

  • Grafana Security Advisory CVE-2023-1387
  • 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