Apache Druid’s Kerberos authenticator uses a weak fallback secret
Critical severity
GitHub Reviewed
Published
Nov 26, 2025
to the GitHub Advisory Database
•
Updated Nov 26, 2025
Description
Published by the National Vulnerability Database
Nov 26, 2025
Published to the GitHub Advisory Database
Nov 26, 2025
Reviewed
Nov 26, 2025
Last updated
Nov 26, 2025
Apache Druid’s Kerberos authenticator uses a weak fallback secret when the
druid.auth.authenticator.kerberos.cookieSignatureSecretconfiguration is not explicitly set. In this case, the secret is generated usingThreadLocalRandom, 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 strongdruid.auth.authenticator.kerberos.cookieSignatureSecretThis 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.cookieSignatureSecretwhen using the Kerberos authenticator. Services will fail to come up if the secret is not set.References