Skip to content
On CISA KEVHigh

CVE-2021-25646Druid Code Injection

druid: Authenticated javascript code injection

Published Jan 29, 2021 · Updated Oct 24, 2026 · Also known as GHSA-wrqf-rrrw-w3mg, TR-21-0091

Key Facts

Patch immediately
  • CVE-2021-25646 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Druid (Apache), org.apache.druid:druid (maven).
  • It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Oct 14, 2023. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 99% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Druid <=0.20.0, org.apache.druid:druid 0.20.1, Druid 0.20.0.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

99%

Higher than 99.9% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

81/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Oct 14, 2023

988 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

13

Reports of active use

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CIRCL KEVOct 14, 2023n/aNot reported
Industry KEV feedOct 14, 2023n/aNot reported

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
DruidApache>= 0.20.0 and earlier0.20.0
org.apache.druid:druidmavenSee advisory0.20.1

Patched Releases

Druid

<=0.20.0

org.apache.druid:druid

0.20.1

Timeline

  1. Publicly disclosed

    Jan 29, 2021

  2. Added to CIRCL KEV

    Oct 14, 2023

  3. Added to Industry KEV feed

    Oct 14, 2023

  4. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code
  • CWE-732 Incorrect Permission Assignment for Critical Resource

FAQ

Common Questions.

Is CVE-2021-25646 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.