{"id":"CVE-2025-59390","published":"2025-11-26T08:50:07Z","modified":"2025-12-11T14:24:14Z","title":"Apache Druid: Kerberos authenticaton chooses a cryptographically unsecure secret if not configured explicitly.","vendor":"Apache","product":"Apache Druid","tier":"tail","description":{"text":"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`,\n which is not a crypto-graphically secure random number generator. This \nmay allow an attacker to predict or brute force the secret used to sign \nauthentication cookies, potentially enabling token forgery or \nauthentication bypass. Additionally, each process generates its own \nfallback secret, resulting in inconsistent secrets across nodes. This \ncauses authentication failures in distributed or multi-broker \ndeployments, effectively leading to a incorrectly configured clusters. Users are \nadvised to configure a strong `druid.auth.authenticator.kerberos.cookieSignatureSecret`\n\n\n\nThis issue affects Apache Druid: through 34.0.0.\n\nUsers 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01004,"percentile":0.61902,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://lists.apache.org/thread/jwjltllnntgj1sb9wzsjmvwm9f8rlhg8","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/11/26/1","tags":[]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":12.38},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-11-28","earliestUrl":"https://github.com/Daeda1usUK/CVE-2025-59390-","repos":[{"name":"Daeda1usUK/CVE-2025-59390-","url":"https://github.com/Daeda1usUK/CVE-2025-59390-","stars":1,"created":"2025-11-28"}]},"first":{"date":"2025-11-28","source":"PoC-in-GitHub","url":"https://github.com/Daeda1usUK/CVE-2025-59390-"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Druid","versions":["<= 34.0.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-11-26T14:57:50.711443Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.druid:druid","vulnerableRanges":["<35.0.0"],"patched":["35.0.0"],"from":["GHSA-w88f-4875-99c8"],"provenance":"source"}],"summary":{"text":"Apache Druid's Kerberos authenticator contains a flaw in how it generates its cookie signing secret when the druid.auth.authenticator.kerberos.cookieSignatureSecret setting is left unset, falling back to a non-cryptographic random number generator (ThreadLocalRandom) that also yields a different secret on each process, affecting all versions through 34.0.0. An unauthenticated attacker with network access could predict or brute-force that fallback secret to forge authentication cookies and bypass authentication, with no user interaction or prior credentials required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:41Z"},"euvd":{"id":"EUVD-2025-199714","exploited":false,"provenance":"source"}}