# CVE-2025-27888: Apache Druid: Server-Side Request Forgery and Cross-Site Scripting

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.8
- **CVSS:** 5.8 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Active; Confidentiality impact: High; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 5.19% (percentile 93, 2026-11-28)
- **CWE:** CWE-918, CWE-79, CWE-601
- **Aliases:** GHSA-2xcr-p767-f3rv
- **Published:** 2025-03-20T11:29:00.730Z
- **Modified:** 2026-06-17T09:04:20.633Z

## Who should check

- Projects that depend on Maven package org.apache.druid:druid (\< 31.0.2)
- Anyone running Apache Software Foundation Apache Druid \< 31.0.2; 32.0.0

## 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.

## Affected and fixed versions

- Maven `org.apache.druid:druid`: affected \< 31.0.2; fixed 31.0.2, 32.0.1 (osv)
- Apache Software Foundation Apache Druid: \< 31.0.2; 32.0.0 (cvelist)

## Mitigation

- Upgrade org.apache.druid:druid to one of 31.0.2, 32.0.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-27888. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27888.md
Affected: org.apache.druid:druid < 31.0.2
Fixed in: 31.0.2, 32.0.1

Steps:
1. Search this machine and project for org.apache.druid:druid (Maven), Apache Software Foundation Apache Druid: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-27888 being exploited?

There is no confirmed exploitation: CVE-2025-27888 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-27888?

Medium: CVSS 5.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-27888?

org.apache.druid:druid \< 31.0.2.

### Is there a fix for CVE-2025-27888?

Yes. Fixed in 31.0.2, 32.0.1. Upgrade org.apache.druid:druid to one of 31.0.2, 32.0.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-27888?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/c0qo989pwtrqkjv6xfr0c30dnjq8vf39>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-27888>
- other: <http://www.openwall.com/lists/oss-security/2025/03/19/7>
- other: <https://github.com/apache/druid>
- other: <https://github.com/apache/druid/releases/tag/druid-31.0.2>
- other: <https://github.com/apache/druid/releases/tag/druid-32.0.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-27888>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2xcr-p767-f3rv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-27888> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-27888>
