Apache Druid: Server-Side Request Forgery and Cross-Site Scripting
Description
An authenticated SSRF/XSS vulnerability in Apache Druid's management proxy allows redirecting requests to arbitrary servers, potentially enabling XSS or XSRF attacks.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An authenticated SSRF/XSS vulnerability in Apache Druid's management proxy allows redirecting requests to arbitrary servers, potentially enabling XSS or XSRF attacks.
Vulnerability
Overview
CVE-2025-27888 is a server-side request forgery (SSRF) vulnerability in Apache Druid that also encompasses cross-site scripting (XSS) and open redirect flaws. The root cause is improper input neutralization within Druid's management proxy, which is enabled by default in out-of-the-box configurations. A specially crafted URL can be used to redirect requests to an arbitrary server, leading to potential XSS or cross-site request forgery (XSRF) attacks [1][3].
Exploitation
Conditions
The vulnerability requires the attacker to be authenticated to the Druid instance. The management proxy, which is the attack surface, is enabled by default. An attacker who is authenticated can craft a malicious URL that, when processed by the proxy, redirects the request to an attacker-controlled server [1][3]. This setup does not require any additional privileges beyond authentication.
Impact
Successful exploitation could allow an attacker to perform XSS attacks by injecting malicious scripts into web pages generated by Druid, or to conduct XSRF attacks by tricking users into performing unintended actions. The SSRF aspect may also allow the attacker to probe internal network resources or access sensitive data indirectly. The overall severity is rated as medium (CVSS 5.8) / important [1].
Mitigation
Apache has released Druid 31.0.2 and Druid 32.0.1, which fix the issue. Users are strongly recommended to upgrade to these versions [1][3][4]. As a workaround, the management proxy can be disabled, which mitigates the vulnerability at the cost of losing some web console features (core functionality remains unaffected) [1][3]. This CVE is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog at the time of publication.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.druid:druidMaven | < 31.0.2 | 31.0.2 |
org.apache.druid:druidMaven | >= 32.0.0, < 32.0.1 | 32.0.1 |
Affected products
2- Apache Software Foundation/Apache Druidv5Range: 0
Patches
1230605ec33dbVulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-2xcr-p767-f3rvghsaADVISORY
- lists.apache.org/thread/c0qo989pwtrqkjv6xfr0c30dnjq8vf39ghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-27888ghsaADVISORY
- www.openwall.com/lists/oss-security/2025/03/19/7ghsaWEB
- github.com/apache/druid/releases/tag/druid-31.0.2ghsaWEB
- github.com/apache/druid/releases/tag/druid-32.0.1ghsaWEB
News mentions
0No linked articles in our index yet.