Home / Apache / Apache Druid / CVE-2020-1958
CVE-2020-1958: is it exploited, and which versions of Apache Druid are affected and fixed?
CVE-2020-1958 is an injection vulnerability in 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, 13:08 UTC). Affected: org.apache.druid:druid from 0.17.0 before 0.17.1 (GitHub advisory GHSA-qh2g-7h5p-mxf4). Fixed in 0.17.1 (GitHub advisory GHSA-qh2g-7h5p-mxf4). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is CVE-2020-1958?
When LDAP authentication is enabled in Apache Druid 0.17.0, callers of Druid APIs with a valid set of LDAP credentials can bypass the credentialsValidator.userSearch filter barrier that determines if a valid LDAP user is allowed to authenticate with Druid. They are still subject to role-based authorization checks, if configured. Callers of Druid APIs can also retrieve any LDAP attribute values of users that exist on the LDAP server, so long as that information is visible to the Druid server. This information disclosure does not require the caller itself to be a valid LDAP user.
From the CVE record by apache, last updated August 4, 2024, 06:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache | Apache Druid | 0.17.0 |
As the CVE record by apache states it, last updated August 4, 2024. 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.17.0, < 0.17.1 | 0.17.1 | GHSA-qh2g-7h5p-mxf4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 5, 2021. Summary: Credentials bypass in Apache Druid.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | druid | 0.17.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:02 UTC.
How severe is CVE-2020-1958?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:P/I:N/A:N | 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-2020-1958 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.57% probability of exploitation activity in the next 30 days, percentile 91.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r9d437371793b410f8a8e18f556d52d4bb68e18c537962f6a97f4945e%40%3Cdev.druid.apache.org%3E x_refsource_MISC
- [druid-commits] 20200401 [GitHub] [druid] lgtm-com[bot] commented on issue #9600: Fix for [CVE-2020-1958] Apache Druid LDAP injection vulnerability mailing-list, x_refsource_MLIST
- [druid-commits] 20200401 [druid] branch master updated: Fix for [CVE-2020-1958]: Apache Druid LDAP injection vulnerability (#9600) mailing-list, x_refsource_MLIST
- [druid-commits] 20200401 [GitHub] [druid] jihoonson merged pull request #9600: Fix for [CVE-2020-1958] Apache Druid LDAP injection vulnerability mailing-list, x_refsource_MLIST
- [announce] 20200401 [CVE-2020-1958]: Apache Druid LDAP injection vulnerability mailing-list, x_refsource_MLIST
- [druid-commits] 20200403 [GitHub] [druid] jon-wei opened a new pull request #9612: [Backport] Fix for [CVE-2020-1958]: Apache Druid LDAP injection vulnerability mailing-list, x_refsource_MLIST
- [druid-commits] 20200404 [GitHub] [druid] clintropolis merged pull request #9612: [Backport] Fix for [CVE-2020-1958]: Apache Druid LDAP injection vulnerability mailing-list, x_refsource_MLIST
- [druid-commits] 20200404 [druid] branch 0.18.0 updated: Fix for [CVE-2020-1958]: Apache Druid LDAP injection vulnerability (#9600) (#9612) mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- December 2, 2019
- Published
- April 1, 2020, 21:48 UTC
- CVE record updated
- August 4, 2024, 06:54 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 03:02 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-1958
Is CVE-2020-1958 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 4.57% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Druid are affected by CVE-2020-1958?
org.apache.druid:druid from 0.17.0 before 0.17.1, per the GitHub advisory GHSA-qh2g-7h5p-mxf4. The tables above give every range the sources list.
Which version fixes CVE-2020-1958?
0.17.1, per the GitHub advisory GHSA-qh2g-7h5p-mxf4. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-1958?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-1958?
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.