Apache Druid’s Kerberos authenticator uses a weak fallback secret
Published 26 Nov 2025 · Updated 26 Nov 2025
Is your project on an affected org.apache.druid:druid?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <35.0.0
- Fixed in
- 35.0.0
mvn versions:use-dep-version -Dincludes=org.apache.druid:druid -DdepVersion=35.0.0 -DforceVersion=trueDetails
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.
Is GHSA-w88f-4875-99c8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.druid:druid, and gives you the command that fixes it.
More advisories for org.apache.druid:druid
- MediumCVE-2025-27888Apache Druid vulnerable to Server-Side Request Forgery, Cross-site Scripting, Open Redirect · 20 Mar 2025
- LowCVE-2024-45537Apache Druid: Users can provide MySQL JDBC properties not on allow list · 17 Sept 2024
- MediumCVE-2021-44791Apache Druid before 0.23.0 vulnerable to reflected XSS via unescaped URL parameters · 8 Jul 2022
- MediumCVE-2022-28889Apache Druid before 0.23.0 vulnerable to clickjacking · 8 Jul 2022
- MediumCVE-2020-1958Credentials bypass in Apache Druid · 9 Feb 2022
- HighCVE-2021-26919Arbitrary code execution in Apache Druid · 16 Jun 2021
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.