SecurityContext

CVE-2025-59390: Apache Druid - Authentication Bypass

  • Cve: CVE-2025-59390
  • Name: Apache Druid - Authentication Bypass
  • 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.
  • Impact: Attackers can forge authentication tokens or bypass authentication, compromising cluster security and causing authentication failures in distributed deployments.
  • Remediation: Upgrade to version 35.0.0 and set druid.auth.authenticator.kerberos.cookieSignatureSecret.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00707
  • Epss percentile: 0.54144
  • Assignee: [email protected]
  • Published at: 2025-11-26T09:15:46Z
  • Age in days: 363
  • Modified at: 2026-06-17T09:46:04Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59390
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Public exploits

UrlSourceAdded date
https://github.com/Daeda1usUK/CVE-2025-59390-poc-in-github2025-11-28

References

UrlSourceTags
https://lists.apache.org/thread/jwjltllnntgj1sb9wzsjmvwm9f8rlhg8nvdVendor Advisory
http://www.openwall.com/lists/oss-security/2025/11/26/1nvdMailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:druid< 35.0.0nonvd/v1/products/apache/druid

Projects

RepositoryLink kindsIndexedUrl
apache/druidpackage, pullyes/v1/repositories/apache/druid

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-11-28
  • Remote: yes
  • Exposed hosts: 933
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports