CVE-2025-27888 Apache Druid: Server-Side Request Forgery and Cross-Site Scripting
Authenticated attackers can exploit the management proxy to perform SSRF, XSS, or open redirects, potentially leading to code execution or security bypasses.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-27888?
CVE-2025-27888 is a medium-severity server-side request forgery vulnerability in Apache Druid, published on 20 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Severity: medium (5.8) / important
Server-Side Request Forgery (SSRF), Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Apache Druid.
This issue affects all previous Druid versions.
When using the Druid management proxy, a request that has a specially crafted URL could be used to redirect the request to an arbitrary server instead. This has the potential for XSS or XSRF. The user is required to be authenticated for this exploit. The management proxy is enabled in Druid's out-of-box configuration. It may be disabled to mitigate this vulnerability. If the management proxy is disabled, some web console features will not work properly, but core functionality is unaffected.
Users are recommended to upgrade to Druid 31.0.2 or Druid 32.0.1, which fixes the issue.
Which versions are affected by CVE-2025-27888?
4 open source packages ship an affected version, including org.apache.druid:druid. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.druid:druid Maven | All versions | 31.0.2 |
org.apache.druid:druid Maven | All versions | 31.0.2 |
org.apache.druid:druid Maven | From 32.0.0 | 32.0.1 |
org.apache.druid:druid Maven | From 32.0.0 | 32.0.1 |
Products include Apache Druid.
How do I fix CVE-2025-27888?
Upgrade org.apache.druid:druid to a fixed version for your release line: 31.0.2 or 32.0.1.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2025-27888 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27888 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Apache Druid
- CVE-2026-23906 Apache Druid: Authentication Bypass via LDAP Anonymous Bind
- CVE-2025-59390 Apache Druid: Kerberos authenticaton chooses a cryptographically unsecure secret if not configured explicitly.
- CVE-2021-26919 Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.
- CVE-2021-25646 Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.
- CVE-2024-45537 Apache Druid: Users can provide MySQL JDBC properties not on allow list
Sources
Also known as GHSA-2xcr-p767-f3rv.