Loading...
Skip to main content

CVE-2025-59390 — Vulnerability in org.apache.druid:druid — CVE Details

CRITICAL

Apache Druid’s Kerberos authenticator uses a weak fallback secret

Published November 26, 2025Updated November 26, 2025Source: osv

Summary

Apache Druid’s Kerberos authenticator uses a weak fallback secret when the `druid.auth.authenticator.kerberos.cookieSignatureSecret` configuration is not explicitly set. In this case, the secret is generated using `ThreadLocalRandom`, which is not a crypto-graphically secure random number generator. This may allow an attacker to predict or brute force the secret used to sign authentication cookies, potentially enabling token forgery or authentication bypass. Additionally, each process generates its own fallback secret, resulting in inconsistent secrets across nodes. This causes authentication failures in distributed or multi-broker deployments, effectively leading to a incorrectly configured clusters. Users are advised to configure a strong `druid.auth.authenticator.kerberos.cookieSignatureSecret` This issue affects Apache Druid: through 34.0.0. Users are recommended to upgrade to version 35.0.0, which fixes the issue making it mandatory to set `druid.auth.authenticator.kerberos.cookieSignatureSecret` when using the Kerberos authenticator. Services will fail to come up if the secret is not set.

Advisory Timeline

  • First published November 26, 2025 (320 days ago).
  • Last revised November 26, 2025 — 1 day after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.druid:druid to 35.0.0 or later
<!-- Update pom.xml dependency version to 35.0.0 for org.apache.druid:druid -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.druid:druid
maven
0.13.0-incubating, 0.14.0-incubating, 0.14.1-incubating, 0.14.2-incubating (+36 more)35.0.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-338
    Use of Cryptographically Weak Pseudo-Random Number GeneratorMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-59390?
Apache Druid’s Kerberos authenticator uses a weak fallback secret This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-59390?
CVE-2025-59390 affects org.apache.druid:druid. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-59390 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-w88f-4875-99c8

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies