Vulnerabilities

Vulnerability · CVE-2021-25646

Apache Druid 0.20.0 Remote Command Execution

Published Nov 13, 2023 · catalog updated Nov 13, 2023 · Apache

Patch now

CVE-2021-25646 is in the CISA known-exploited catalog. Confirm Apache against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
Unknown—
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
99.00%
Remediation
Remediation guidance
Affected products
stated druid · vendor Apache druid

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. Initial-access exploit intelligence.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • stated druid<= 0.20.0
  • vendor Apache druidversion unspecified

How to fix CVE-2021-25646

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2021-25646 is in the CISA known-exploited catalog. Confirm Apache against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with <= 0.20.0. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

No weakness class is stored. EPSS 99.00%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Nov 13, 2023 · VulnCheck KEV

    Detected

    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, reg

  2. Nov 13, 2023 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Sources

  • CVE.orgVulnerability recordCVE-2021-25646

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2021-25646

    30-day exploitation probability 99.0%

    first.org
  • VulnCheck KEVConfirmed exploitationCVE-2021-25646

    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 authenticat

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.