Vulnerabilities in pkg:maven/org.apache.druid/druid
PACKAGECVE-2025-59390 is a CRITICAL (CVSS 9.8) apache druid’s kerberos authenticator uses vulnerability (CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)) affecting Druid libraries in the Maven ecosystem. The issue involves apache druid’s kerberos authenticator uses a weak fallback secret. Remediation is available by upgrading affected packages to version 35.0.0.
pkg:maven/org.apache.druid/druid
Vulnerability advisories affecting package pkg:maven/org.apache.druid/druid. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-w88f-4875-99c8 | CVE-2025-59390 | CRITICAL | Apache Druid’s Kerberos authenticator uses a weak fallback secret |
| GHSA-2xcr-p767-f3rv | CVE-2025-27888 | MODERATE | Apache Druid vulnerable to Server-Side Request Forgery, Cross-site Scripting, Open Redirect |
| GHSA-jh66-3545-vpm7 | CVE-2024-45537 | LOW | Apache Druid: Users can provide MySQL JDBC properties not on allow list |
| GHSA-8rmv-98m4-g5c6 | CVE-2021-44791 | MODERATE | Apache Druid before 0.23.0 vulnerable to reflected XSS via unescaped URL parameters |
| GHSA-pgq7-jcj5-xx6h | CVE-2022-28889 | MODERATE | Apache Druid before 0.23.0 vulnerable to clickjacking |
| GHSA-jj4f-p7vv-j4v9 | CVE-2021-26919 | HIGH | Arbitrary code execution in Apache Druid |
| GHSA-wrqf-rrrw-w3mg | CVE-2021-25646 | HIGH | Code injection in Apache Druid |
| GHSA-qh2g-7h5p-mxf4 | CVE-2020-1958 | MODERATE | Credentials bypass in Apache Druid |
CVE-2025-59390 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-59390
To remediate this vulnerability, upgrade all affected Druid dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.druid</groupId>
<artifactId>druid</artifactId>
<version>35.0.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.druid
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-59390, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.druid
Analyze the terminal output to locate any version of Druid in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 35.0.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.druid command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG), where the product uses a pseudo-random number generator (prng) in a security context, but the prng's algorithm is not cryptographically strong. In Druid, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-59390 Affected Druid Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.druid:druid
|
Maven |
< 35.0.0
|
35.0.0
|
References
Frequently Asked Questions
What is CVE-2025-59390?
Which Druid versions are affected?
What version fixes CVE-2025-59390?
Is druid affected?
What is the CVSS score of CVE-2025-59390?
What CWE is associated with CVE-2025-59390?
How can I check Maven dependencies for CVE-2025-59390?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w88f-4875-99c8",
"modified" : "2025-11-26T23:19:18Z",
"published" : "2025-11-26T09:31:21Z",
"aliases" : [ "CVE-2025-59390" ],
"summary" : "Apache Druid’s Kerberos authenticator uses a weak fallback secret",
"details" : "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`\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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.druid:druid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "35.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-59390"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/druid/pull/18368"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/druid"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/jwjltllnntgj1sb9wzsjmvwm9f8rlhg8"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/11/26/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-338" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-26T23:19:18Z",
"nvd_published_at" : "2025-11-26T09:15:46Z"
}
}