# CVE-2021-26919: Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 35.2%, higher than 98% of CVEs (2026-12-01)
- Published: 2021-03-30T07:50:10.000Z
- Modified: 2026-06-17T03:44:00.340Z
- Also known as: GHSA-jj4f-p7vv-j4v9
- Weaknesses: CWE-668
- Assigned by: apache

## 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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Druid: from Apache Druid up to 0.20.1
- org.apache.druid:druid (Maven): before 0.20.2
- apache druid: before 0.20.2

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://lists.apache.org/thread.html/rd87451fce34df54796e66321c40d743a68fb4553d72e7f6f0bc62ebd%40%3Cdev.druid.apache.org%3E> (mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/r443e2916c612fbd119839c0fc0729327d6031913a75081adac5b43ad%40%3Cdev.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/re4c5deb0aae4bace69844d15c9fd1699e907ebfee93bc3926474d110%40%3Cdev.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/re0910cf4c784897774427fecd95912fb565a6bd06d924a55e70bbbfc%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/ra85fa7d31f9bec1148ffd2e4030934927caa8bff89bca9f61f75e697%40%3Cdev.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r470f8c92eb5df45f41b3ae609b6315b6c5ff51b3ceb2f09f00ca620f%40%3Cdev.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r7a531ec123570cb7875ff991cf115f99e9ef99a48b3cf3fa4f9d9864%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r6bc68264170046448f823d12c17fd1fd875251d97d60869f58709872%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rf3ea2a4018e87e6c45d36cf8479af7727dcc276edabd2f7cf59e0c5f%40%3Cdev.druid.apache.org%3E> (mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-26919> (advisory)
- <https://github.com/apache/druid/commit/48953e3508967f5156c69676432b5d4dd25ea678> (web)
- <https://github.com/apache/druid> (package)
- <https://github.com/apache/druid/releases/tag/druid-0.20.2> (web)
- <https://lists.apache.org/thread.html/r443e2916c612fbd119839c0fc0729327d6031913a75081adac5b43ad@%3Cdev.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r470f8c92eb5df45f41b3ae609b6315b6c5ff51b3ceb2f09f00ca620f@%3Cdev.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r6bc68264170046448f823d12c17fd1fd875251d97d60869f58709872@%3Ccommits.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r7a531ec123570cb7875ff991cf115f99e9ef99a48b3cf3fa4f9d9864@%3Ccommits.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/ra85fa7d31f9bec1148ffd2e4030934927caa8bff89bca9f61f75e697@%3Cdev.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/re0910cf4c784897774427fecd95912fb565a6bd06d924a55e70bbbfc@%3Ccommits.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/re4c5deb0aae4bace69844d15c9fd1699e907ebfee93bc3926474d110@%3Cdev.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rf3ea2a4018e87e6c45d36cf8479af7727dcc276edabd2f7cf59e0c5f@%3Cdev.druid.apache.org%3E> (web)

## Sources

- CVE List: [CVE-2021-26919](https://www.cve.org/CVERecord?id=CVE-2021-26919), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-jj4f-p7vv-j4v9](https://github.com/advisories/GHSA-jj4f-p7vv-j4v9), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-26919](https://nvd.nist.gov/vuln/detail/CVE-2021-26919), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-26919 · Whole record: https://cve.day/CVE-2021-26919.json · Rebuilt by cve.day 2026-11-25T22:58:00.493Z
