Cyber Resilience

CVE-2021-25646

Apache Druid ≤ 0.20.0

Public PoCHigh EPSS
Published
29 January 2021
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 99.9th percentile
Risk Priority 87 floored blend · peak EPSS

Summary

CVE-2021-25646 is a high-severity an unspecified weakness vulnerability in Apache Druid. Its CVSS base score is 8.8 (High).

Operationally, ranked in the top 0.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1059.007 JavaScript Executionconfidence: HIGH
The vulnerability allows an authenticated attacker to force execution of attacker-supplied JavaScript code on the server.
T1068 Exploitation for Privilege Escalation Privilege Escalationconfidence: HIGH
Successful JavaScript execution grants code execution with the privileges of the Druid server process, enabling privilege escalation.
T1203 Exploitation for Client Execution Executionconfidence: MEDIUM
The crafted request exploits the server to achieve client-side code execution via the JavaScript engine.
inferred from description · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-27888Same product: Apache Druid
CVE-2025-59390Same product: Apache Druid
CVE-2026-23906Same product: Apache Druid
CVE-2024-45384Same product: Apache Druid
CVE-2024-45537Same product: Apache Druid
CVE-2025-23195Same vendor: Apache
CVE-2024-42362Same vendor: Apache
CVE-2021-30181Same vendor: Apache
CVE-2024-29070Same vendor: Apache
CVE-2023-28706Same vendor: Apache

Affected Assets

apache
druid
≤ 0.20.0

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References