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-2025-59390

CVE-2025-59390: Apache Druid Auth Bypass Vulnerability

CVE-2025-59390 is an authentication bypass flaw in Apache Druid's Kerberos authenticator that allows attackers to forge authentication tokens. This post covers the technical details, affected versions, and mitigation steps.

Published: March 25, 2026

CVE-2025-59390 Overview

Apache Druid's Kerberos authenticator contains an insecure random number generation vulnerability that occurs when the druid.auth.authenticator.kerberos.cookieSignatureSecret configuration is not explicitly set. In this scenario, the secret used to sign authentication cookies is generated using ThreadLocalRandom, which is not a cryptographically secure random number generator. This weakness may allow attackers to predict or brute force the secret, potentially enabling token forgery or authentication bypass across Apache Druid deployments.

Critical Impact

This vulnerability enables attackers to potentially forge authentication cookies or bypass authentication entirely in Apache Druid clusters using Kerberos authentication. Additionally, the inconsistent secret generation across nodes can cause authentication failures in distributed or multi-broker deployments.

Affected Products

  • Apache Druid versions through 34.0.0
  • Apache Druid deployments using Kerberos authentication without explicitly configured cookieSignatureSecret
  • Distributed or multi-broker Apache Druid clusters with default Kerberos configurations

Discovery Timeline

  • 2025-11-26 - CVE-2025-59390 published to NVD
  • 2025-12-04 - Last updated in NVD database

Technical Details for CVE-2025-59390

Vulnerability Analysis

The vulnerability stems from the use of ThreadLocalRandom for generating fallback secrets in Apache Druid's Kerberos authenticator. When administrators do not explicitly configure the druid.auth.authenticator.kerberos.cookieSignatureSecret property, the system falls back to an automatically generated secret. However, the implementation uses ThreadLocalRandom, a pseudo-random number generator designed for performance in concurrent applications rather than security purposes.

This design flaw creates two significant security issues. First, the predictable nature of ThreadLocalRandom means attackers with sufficient knowledge of the system state may be able to predict or brute force the generated secret value. Second, because each Druid process generates its own independent fallback secret, distributed deployments experience inconsistent secrets across nodes, leading to authentication failures when requests are routed to different brokers.

Root Cause

The root cause is classified as CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator). The Kerberos authenticator component in Apache Druid relies on ThreadLocalRandom to generate the cookie signature secret when no explicit configuration is provided. Unlike cryptographically secure random number generators such as SecureRandom, ThreadLocalRandom uses algorithms that prioritize speed over unpredictability, making its output potentially predictable to sophisticated attackers.

Attack Vector

The attack vector is network-based and requires no prior authentication or user interaction. An attacker could exploit this vulnerability by:

  1. Analyzing the predictable patterns in ThreadLocalRandom output
  2. Attempting to predict or brute force the cookie signature secret
  3. Forging valid authentication cookies using the discovered secret
  4. Bypassing authentication to gain unauthorized access to the Apache Druid cluster

The vulnerability mechanism involves the weak random number generation used for cookie signature secrets. When the druid.auth.authenticator.kerberos.cookieSignatureSecret is not explicitly configured, Apache Druid's Kerberos authenticator generates a fallback secret using ThreadLocalRandom. This pseudo-random number generator is not designed for cryptographic purposes and produces predictable output that could be exploited by attackers. For technical implementation details, refer to the Apache Security Mailing List Thread.

Detection Methods for CVE-2025-59390

Indicators of Compromise

  • Unusual authentication cookie patterns or malformed authentication tokens in access logs
  • Multiple authentication failures followed by successful access from the same source
  • Unexpected access to Apache Druid resources by previously unauthorized users
  • Inconsistent authentication behavior across different nodes in distributed deployments

Detection Strategies

  • Review Apache Druid configuration files to verify explicit druid.auth.authenticator.kerberos.cookieSignatureSecret settings
  • Monitor authentication logs for anomalous patterns suggesting cookie forgery attempts
  • Implement network traffic analysis to detect potential brute force attempts against authentication endpoints
  • Audit access patterns for unauthorized queries or administrative actions

Monitoring Recommendations

  • Enable detailed authentication logging in Apache Druid to capture all Kerberos authentication events
  • Set up alerts for repeated authentication failures from single IP addresses
  • Monitor for configuration drift that might remove explicit secret configurations
  • Implement security information and event management (SIEM) rules to correlate authentication anomalies

How to Mitigate CVE-2025-59390

Immediate Actions Required

  • Explicitly configure a strong, cryptographically random druid.auth.authenticator.kerberos.cookieSignatureSecret in all Apache Druid instances
  • Ensure the same secret is configured consistently across all nodes in distributed deployments
  • Rotate any existing authentication sessions after implementing the configuration change
  • Upgrade to Apache Druid version 35.0.0 or later as soon as possible

Patch Information

Apache has released version 35.0.0 which addresses this vulnerability by making it mandatory to explicitly set the druid.auth.authenticator.kerberos.cookieSignatureSecret configuration when using the Kerberos authenticator. Services will fail to start if the secret is not configured, preventing deployments from running with insecure default settings. Refer to the Apache Security Mailing List Thread for official patch details.

Workarounds

  • Generate a cryptographically secure random secret using tools like openssl rand -base64 32
  • Configure the generated secret explicitly in the druid.auth.authenticator.kerberos.cookieSignatureSecret property
  • Distribute the same secret to all nodes in your Apache Druid cluster to ensure consistent authentication
  • Consider implementing additional network-level access controls to limit exposure while patching
bash
# Generate a cryptographically secure secret for Apache Druid Kerberos configuration
openssl rand -base64 32

# Add the generated secret to your Apache Druid common.runtime.properties file
# druid.auth.authenticator.kerberos.cookieSignatureSecret=<your-generated-secret>

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechApache Druid

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.07%

  • 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-338
  • Technical References
  • Openwall OSS Security Discussion
  • Vendor Resources
  • Apache Security Mailing List Thread
  • Related CVEs
  • CVE-2026-23906: Apache Druid Auth Bypass Vulnerability

  • CVE-2021-36749: Apache Druid Auth Bypass Vulnerability

  • CVE-2021-26919: Apache Druid JDBC RCE 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