Code injection in Apache DruidGHSA-wrqf-rrrw-w3mg
HIGHGHSA-wrqf-rrrw-w3mg is a high-severity (CVSS 8.8) vulnerability in org.apache.druid:druid. 14 public exploit references exist, so weaponization risk is real. A fix is available for org.apache.druid:druid — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-wrqf-rrrw-w3mg by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.apache.druid:druidReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.druid:druid | all versions | 0.20.1org.apache.druid:druid:0.20.1 |
Affected Products
druidapacheResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache Druid includes the ability to execute user-provided JavaScript co…
Apache Druid includes the ability to execute user-provided JavaScript co…
Apache Druid includes the ability to execute user-provided JavaScript co…
Apache Druid includes the ability to execute user-provided JavaScript co…
Apache Druid includes the ability to execute user-provided JavaScript co…
Apache Druid includes the ability to execute user-provided JavaScript co…
Apache Druid includes the ability to execute user-provided JavaScript co…
Apache Druid includes the ability to execute user-provided JavaScript co…
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.druid:druid, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.druid:druid to 0.20.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-wrqf-rrrw-w3mg is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How to detect GHSA-wrqf-rrrw-w3mg
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-wrqf-rrrw-w3mg -u https://target- Template
- Apache Druid - Remote Code Execution
- Severity
- high
- Impact
- Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
- Remediation
- Apply the latest security patches or upgrade to a patched version of Apache Druid.
Template by ProjectDiscovery nuclei-templates (pikpikcu), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-wrqf-rrrw-w3mg in your dependencies?
Find it across Maven, including transitive dependencies.