CVE-2025-59390 in Apache Druid
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Druid | < 35.0.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-59390 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-270911-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-11-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-338: CWE-338
Analysis AI-written, not human-reviewed
Apache Druid's Kerberos authenticator uses a weak fallback secret for cookie signing when the `druid.auth.authenticator.kerberos.cookieSignatureSecret` is not set, potentially allowing attackers to predict or brute force the secret.
An attacker can exploit the use of `ThreadLocalRandom` for generating the cookie signature secret, which is not cryptographically secure. This weakness can be leveraged to predict or brute force the secret, leading to unauthorized access or manipulation of authentication cookies.
Questions
What is CVE-2025-59390?
Apache Druid's Kerberos authenticator uses a weak fallback secret for cookie signing when the `druid.auth.authenticator.kerberos.cookieSignatureSecret` is not set, potentially allowing attackers to predict or brute force the secret.
What is the CVSS score for CVE-2025-59390?
CVE-2025-59390 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.0%.
Is CVE-2025-59390 actively exploited?
No confirmed active exploitation of CVE-2025-59390 as of 2026-09-25.
How do I remediate CVE-2025-59390?
Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/jwjltllnntgj1sb9wzsjmvwm9f8rlhg8 PSIRT: [email protected]
What systems are affected by CVE-2025-59390?
CVE-2025-59390 affects Apache Druid.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Druid","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.