CVE-2020-1958: LDAP Authentication Bypass and Information Disclosure in Apache Druid 0.17.0
- Vendor
- Apache Software Foundation
In Apache Druid 0.17.0, when LDAP authentication is enabled, the credentialsValidator.userSearch filter barrier can be bypassed by callers with valid LDAP credentials. This allows unauthorized users to authenticate with Druid APIs, bypassing intended user search restrictions. Additionally, Druid APIs can be used to retrieve any LDAP attribute values for users present on the LDAP server, exposing sensitive directory information even to unauthenticated callers, provided the Druid server can access that information.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attackers with valid LDAP credentials can bypass user search restrictions and authenticate to Druid APIs, potentially gaining unauthorized access. Furthermore, any caller can enumerate and retrieve LDAP attribute values for users, leading to information disclosure of potentially sensitive directory data, even without being a valid LDAP user.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to the Druid server to trusted hosts only. Limit the visibility of sensitive LDAP attributes to the Druid server. Monitor and audit Druid API access for suspicious activity. Consider disabling LDAP authentication until a patched version is deployed if feasible.
Remediation
Patch, then assume compromise.
Upgrade to a version of Apache Druid where this vulnerability is patched. Ensure that LDAP authentication and user search filters are correctly enforced and that information disclosure via Druid APIs is mitigated.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-1958 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2020-1958 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-1958?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-1958, the earliest disclosed Apr 11, 2020.
- Is there a patch for CVE-2020-1958?
- Upgrade to a version of Apache Druid where this vulnerability is patched. Ensure that LDAP authentication and user search filters are correctly enforced and that information disclosure via Druid APIs is mitigated.
- What products are affected by CVE-2020-1958?
- Apache Software Foundation Druid.
- How severe is CVE-2020-1958?
- CVE-2020-1958 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 4.6% (92nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.