CVE-2025-59390: Apache Druid's Kerberos Authenticator Vulnerability Due to Weak Fallback Secret

org.apache.druid:druid Updated 27 Nov 2025

Summary

26/11/2025
Yes i
Critical
9.8

CVE-2025-59390: Apache Druid’s Kerberos authenticator uses a weak fallback secret. Affects org.apache.druid:druid versions < 35.0.0. Fixed in 35.0.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Druid is a high-performance, real-time analytics database designed for fast data ingestion and flexible querying. It is widely used for analytics on large datasets, providing features such as real-time data processing, high availability, and scalability. However, it has a vulnerability in its Kerberos authenticator that can compromise the security of authentication cookies.

Vulnerability Detail

The vulnerability arises from Apache Druid's Kerberos authenticator using a weak fallback secret when the configuration parameter 'druid.auth.authenticator.kerberos.cookieSignatureSecret' is not explicitly set. The fallback secret is generated using 'ThreadLocalRandom', which is not cryptographically secure. This allows attackers to potentially predict or brute-force the secret, leading to token forgery or authentication bypass. Additionally, each Druid process generates its own fallback secret, causing inconsistencies across nodes and resulting in authentication failures in distributed deployments.

How To Fix

Latest published version: 38.0.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

35.0.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can manually set a strong value for 'druid.auth.authenticator.kerberos.cookieSignatureSecret' in their configuration file to avoid using the weak fallback secret. Example configuration:

druid.auth.authenticator.kerberos.cookieSignatureSecret=your_strong_secret_value

Conclusion

In summary, the vulnerability in Apache Druid's Kerberos authenticator due to a weak fallback secret poses significant security risks. Users are strongly advised to upgrade to version 35.0.0 or later and configure a strong cookie signature secret to protect against potential attacks.

See every vulnerability recorded for org.apache.druid:druid →

Share this vulnerability

FAQ

The vulnerability can lead to token forgery or authentication bypass, allowing unauthorized access to the system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 9.8, indicating a critical severity level.

If an immediate upgrade is not possible, ensure that 'druid.auth.authenticator.kerberos.cookieSignatureSecret' is set to a strong value to mitigate the risk.

More information about Apache Druid can be found on its official website and documentation.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.druid:druid.

How To Fix

Latest published version: 38.0.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

35.0.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback