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

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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): 4.57%, higher than 91% of CVEs (2026-12-01)
- Published: 2020-04-01T21:48:33.000Z
- Modified: 2026-06-17T03:02:43.467Z
- Also known as: GHSA-qh2g-7h5p-mxf4
- Weaknesses: CWE-74, CWE-200
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- Apache Apache Druid: 0.17.0
- org.apache.druid:druid (Maven): from 0.17.0 before 0.17.1
- apache druid: 0.17.0

## Every score

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

## References

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

## Sources

- CVE List: [CVE-2020-1958](https://www.cve.org/CVERecord?id=CVE-2020-1958), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qh2g-7h5p-mxf4](https://github.com/advisories/GHSA-qh2g-7h5p-mxf4), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-1958](https://nvd.nist.gov/vuln/detail/CVE-2020-1958), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-1958 · Whole record: https://cve.day/CVE-2020-1958.json · Rebuilt by cve.day 2026-11-25T22:57:51.757Z
