Home / Apache Software Foundation / Apache Druid / CVE-2021-26919
CVE-2021-26919: is it exploited, and which versions of Apache Software Foundation Apache Druid are affected and fixed?
CVE-2021-26919 is a resource exposed to the wrong sphere vulnerability in Apache Software Foundation Apache Druid. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: org.apache.druid:druid before 0.20.2 (GitHub advisory GHSA-jj4f-p7vv-j4v9). Fixed in 0.20.2 (GitHub advisory GHSA-jj4f-p7vv-j4v9). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:59 UTC.
What is CVE-2021-26919?
Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.
Apache Druid allows users to read data from other database systems using JDBC. This functionality is to allow trusted users with the proper permissions to set up lookups or submit ingestion tasks. The MySQL JDBC driver supports certain properties, which, if left unmitigated, can allow an attacker to execute arbitrary code from a hacker-controlled malicious MySQL server within Druid server processes. This issue was addressed in Apache Druid 0.20.2
From the CVE record by apache, last updated February 13, 2025, 16:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Druid | from Apache Druid through 0.20.1 |
As the CVE record by apache states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.druid:druid | < 0.20.2 | 0.20.2 | GHSA-jj4f-p7vv-j4v9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 6, 2022. Summary: Arbitrary code execution in Apache Druid.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | druid | before 0.20.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:44 UTC.
How severe is CVE-2021-26919?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-26919 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 35.8% probability of exploitation activity in the next 30 days, percentile 98.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-668 Exposure of Resource to Wrong Sphere
Is there a workaround? (from the CVE record)
Users should upgrade to Druid 0.20.2 and enable new Druid configurations to mitigate vulnerable MySQL JDBC properties. Whenever possible, network access to cluster machines should be restricted to trusted hosts only. Ensure that users have the minimum set of Druid permissions necessary, and are not granted access to functionality that they do not require.
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/rd87451fce34df54796e66321c40d743a68fb4553d72e7f6f0bc62ebd%40%3Cdev.druid.apache.org%3E x_refsource_MISC
- [druid-dev] 20210331 Regarding the 0.21.0 release mailing-list, x_refsource_MLIST
- [druid-dev] 20210401 Re: Subject: [CVE-2021-26919] Authenticated users can execute arbitrary code from malicious MySQL database systems mailing-list, x_refsource_MLIST
- [druid-commits] 20210401 [GitHub] [druid] jihoonson merged pull request #11047: Allow list for JDBC connection properties to address CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-dev] 20210405 Regarding the CVSS score for CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-dev] 20210405 Re: Regarding the CVSS score for CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-commits] 20210412 [GitHub] [druid] jihoonson opened a new pull request #11100: [Backport] Allow list for JDBC connection properties to address CVE-2021-2 mailing-list, x_refsource_MLIST
- [druid-commits] 20210412 [GitHub] [druid] jihoonson merged pull request #11100: [Backport] Allow list for JDBC connection properties to address CVE-2021-26919 mailing-list, x_refsource_MLIST
- [druid-dev] 20210414 Re: Regarding the CVSS score for CVE-2021-26919 mailing-list, x_refsource_MLIST
Who found and reported it?
- This issue was discovered by fantasyC4t from the Ant FG Security Lab. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 9, 2021
- Published
- March 30, 2021, 07:50 UTC
- CVE record updated
- February 13, 2025, 16:27 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 03:44 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:59 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Druid?
- Feb 10, 2026CVE-2026-23906 Apache Software Foundation Apache Druid: authentication bypass (improper authentication)
- Nov 26, 2025CVE-2025-59390 Apache Software Foundation Apache Druid: weak random number generator
- Mar 20, 2025CVE-2025-27888 Apache Software Foundation Apache Druid: server-side request forgery (SSRF)
- Sep 17, 2024CVE-2024-45537 Apache Software Foundation Apache Druid: improper input validation
- Sep 17, 2024CVE-2024-45384 Apache Software Foundation Apache Druid: information disclosure in error messages
- Jul 7, 2022CVE-2022-28889 Apache Software Foundation Apache Druid: clickjacking (UI layer not restricted)
- Jul 7, 2022CVE-2021-44791 Apache Software Foundation Apache Druid: cross-site scripting (XSS)
- Sep 24, 2021CVE-2021-36749 Apache Software Foundation Apache Druid: incorrect authorization
Questions about CVE-2021-26919
Is CVE-2021-26919 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 35.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Druid are affected by CVE-2021-26919?
org.apache.druid:druid before 0.20.2, per the GitHub advisory GHSA-jj4f-p7vv-j4v9. The tables above give every range the sources list.
Which version fixes CVE-2021-26919?
0.20.2, per the GitHub advisory GHSA-jj4f-p7vv-j4v9. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-26919?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-26919?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.