# CVE-2020-1958: Credentials bypass in Apache Druid

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 4.57% (percentile 92, 2026-11-26)
- **CWE:** CWE-74
- **Aliases:** GHSA-qh2g-7h5p-mxf4
- **Published:** 2020-04-01T21:48:33.000Z
- **Modified:** 2026-06-17T03:02:43.467Z

## Who should check

- Projects that depend on Maven package org.apache.druid:druid (\>= 0.17.0, \< 0.17.1)
- Anyone running Apache Druid 0.17.0

## Description

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.

## Affected and fixed versions

- Maven `org.apache.druid:druid`: affected \>= 0.17.0, \< 0.17.1; fixed 0.17.1 (osv)
- Apache Druid: 0.17.0 (cvelist)

## Mitigation

- Upgrade org.apache.druid:druid to 0.17.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-1958. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-1958.md
Affected: org.apache.druid:druid >= 0.17.0, < 0.17.1
Fixed in: 0.17.1

Steps:
1. Search this machine and project for org.apache.druid:druid (Maven), Apache Druid: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-1958 being exploited?

There is no confirmed exploitation: CVE-2020-1958 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-1958?

Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, login needed.

### Which versions are affected by CVE-2020-1958?

org.apache.druid:druid \>= 0.17.0, \< 0.17.1.

### Is there a fix for CVE-2020-1958?

Yes. Fixed in 0.17.1. Upgrade org.apache.druid:druid to 0.17.1 or later.

### How do I check if I'm affected by CVE-2020-1958?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread.html/r9d437371793b410f8a8e18f556d52d4bb68e18c537962f6a97f4945e%40%3Cdev.druid.apache.org%3E>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-1958>
- patch: <https://github.com/apache/druid/pull/9600#issuecomment-607497875>
- patch: <https://github.com/apache/druid/commit/dbaabdd24710fef726c5730c609937706f456a44#diff-fab6b7a8a160a405e787690201aade5462961550c97715ab18de6ad07a3edf7e>
- other: <https://lists.apache.org/thread.html/r1526dbce98a138629a41daa06c13393146ddcaf8f9d273cc49d57681%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rffabc9e83cc2831bbee5db32b3965b84b09346a26ebc1012db63d28c%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r1c32c95543d44559b8d7fd89b0a85f728c80e8b715685bbf788a15a4%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rf70876ecafb45b314eff9d040c5281c4adb0cb7771eb029448cfb79b%40%3Cannounce.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r026540c617d334007810cd8f0068f617b5c78444be00a31fc1b03390%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r75e74d39c41c1b95a658b6a9f75fc6fd02b1d1922566a0ee4ee2fdfc%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r47c90a378efdb3fd07ff7f74095b8eb63b3ca93b8ada5c2661c5e371%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r026540c617d334007810cd8f0068f617b5c78444be00a31fc1b03390@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r1526dbce98a138629a41daa06c13393146ddcaf8f9d273cc49d57681@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r1c32c95543d44559b8d7fd89b0a85f728c80e8b715685bbf788a15a4@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r47c90a378efdb3fd07ff7f74095b8eb63b3ca93b8ada5c2661c5e371@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r75e74d39c41c1b95a658b6a9f75fc6fd02b1d1922566a0ee4ee2fdfc@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rf70876ecafb45b314eff9d040c5281c4adb0cb7771eb029448cfb79b@%3Cannounce.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rffabc9e83cc2831bbee5db32b3965b84b09346a26ebc1012db63d28c@%3Ccommits.druid.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-1958>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qh2g-7h5p-mxf4> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-1958> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-1958>
