CVE-2021-26919Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.
- 8.8HighCVSS base score
- 35.2%Exploitation in 30 daysEPSS · top 1.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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
Timeline
ID reserved
By apache
- 49 days later
· 49 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 35.2% · top 1.5% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
Apache Software Foundation · Apache Druid
- affected Apache Druid – ≤ 0.20.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.druid:druidGHSA-jj4f-p7vv-j4v9 (opens in a new tab)
What to do
Workaround: 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.
References
References9
- https://lists.apache.org/thread.html/rd87451fce34df54796e66321c40d743a68fb4553d72e7f6f0bc62ebd%40%3Cdev.druid.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- [druid-dev] 20210331 Regarding the 0.21.0 release (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-dev] 20210401 Re: Subject: [CVE-2021-26919] Authenticated users can execute arbitrary code from malicious MySQL database systems (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-commits] 20210401 [GitHub] [druid] jihoonson merged pull request #11047: Allow list for JDBC connection properties to address CVE-2021-26919 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-dev] 20210405 Regarding the CVSS score for CVE-2021-26919 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-dev] 20210405 Re: Regarding the CVSS score for CVE-2021-26919 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-commits] 20210412 [GitHub] [druid] jihoonson opened a new pull request #11100: [Backport] Allow list for JDBC connection properties to address CVE-2021-26919 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-commits] 20210412 [GitHub] [druid] jihoonson merged pull request #11100: [Backport] Allow list for JDBC connection properties to address CVE-2021-26919 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-dev] 20210414 Re: Regarding the CVSS score for CVE-2021-26919 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1343 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jj4f-p7vv-j4v9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-26919)Record last updated .