{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.druid:druid. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-59390 in the wild and no public exploit code.","fix":"Upgrade org.apache.druid:druid to 35.0.0 or later.","what":"CVE-2025-59390 is a critical vulnerability in Apache Druid, published on 26 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59390 and fix it if it is affected.\n\nWhat it is: CVE-2025-59390 is a critical vulnerability in Apache Druid, published on 26 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-59390 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.druid:druid (Maven): affected all versions; fixed in 35.0.0\n- org.apache.druid:druid (Maven): affected all versions; fixed in 35.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59390/ (Markdown: https://insights.sbomify.com/CVE-2025-59390/index.md)","id":"CVE-2025-59390","markdown":"https://insights.sbomify.com/CVE-2025-59390/index.md","name":"CVE-2025-59390","record":{"aliases":["GHSA-w88f-4875-99c8"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Druid","requires_auth":"none","summary":"Apache Druid uses a weak random secret for Kerberos cookies by default, allowing attackers to forge tokens and bypass authentication.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"druid","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"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`,\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\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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-11-28","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-28T14:33:08Z","kind":"github_poc","ref":"https://github.com/Daeda1usUK/CVE-2025-59390-","stars":1,"title":"CVE-2025-59390 and ThreadLocalRandom Inverse"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Apache Druid: Kerberos authenticaton chooses a cryptographically unsecure secret if not configured explicitly.","id":"CVE-2025-59390","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Information disclosure in n/a","id":"CVE-2025-59391"},"packages":[{"ecosystem":"Maven","fixed":["35.0.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.druid:druid","purl":null,"source":"GHSA-w88f-4875-99c8"},{"ecosystem":"Maven","fixed":["35.0.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.druid:druid","purl":"pkg:maven/org.apache.druid/druid","source":"GHSA-w88f-4875-99c8"}],"prev":{"headline":"Hyper Data Protector","id":"CVE-2025-59389"},"products":["Apache Druid"],"published":"2025-11-26","related":[{"cvss_score":9.8,"headline":"Apache Druid: Authentication Bypass via LDAP Anonymous Bind","id":"CVE-2026-23906","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":8.8,"headline":"Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.","id":"CVE-2021-26919","kev_date_added":null,"published":"2021-03-30"},{"cvss_score":8.8,"headline":"Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.","id":"CVE-2021-25646","kev_date_added":null,"published":"2021-01-29"},{"cvss_score":6.5,"headline":"Apache Druid: Users can provide MySQL JDBC properties not on allow list","id":"CVE-2024-45537","kev_date_added":null,"published":"2024-09-17"},{"cvss_score":6.5,"headline":"Druid ingestion system Authenticated users can read data from other sources than intended","id":"CVE-2021-36749","kev_date_added":null,"published":"2021-09-24"},{"cvss_score":6.5,"headline":"Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended","id":"CVE-2021-26920","kev_date_added":null,"published":"2021-07-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-11","vendors":["Apache Software Foundation"]},"summary":"Apache Druid uses a weak random secret for Kerberos cookies by default, allowing attackers to forge tokens and bypass authentication.","url":"https://insights.sbomify.com/CVE-2025-59390/"}