CVE-2021-25646Apache Druid
High 8.8 High EPSS
Follow: this CVE · Apache · Apache Druid We alert you by email or Slack (account required).
- Priority
- 63
- CVSS 3.1
- 8.8
- EPSS
- 99.1% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- Published
- Jan 29, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Apache Druid includes the ability to execute user-provided JavaScript code embedded in various types of requests. This functionality is intended for use in high-trust environments, and is disabled by default. However, in Druid 0.20.0 and earlier, it is possible for an authenticated user to send a specially-crafted request that forces Druid to run user-provided JavaScript code for that request, regardless of server configuration. This can be leveraged to execute code on the target machine with the privileges of the Druid server process.
What to do
- Apply the vendor's security update for Druid.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.druid:druid |
< 0.20.1 |
0.20.1 |
— |
Per OSV / GitHub Advisories (GHSA-wrqf-rrrw-w3mg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | druid | ≤ 0.20.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org