Apache Druid Vulnerable to Authentication Bypass
Affected Products and Versions
- Apache Druid
- Affected Versions: 0.17.0 through 35.x (all versions prior to 36.0.0)
- Prerequisites: * druid-basic-security extension enabled
- LDAP authenticator configured
- Underlying LDAP server permits anonymous bind
Vulnerability Description
An authentication bypass vulnerability exists in Apache Druid when using the druid-basic-security extension with LDAP authentication. If the underlying LDAP server is configured to allow anonymous binds, an attacker can bypass authentication by providing an existing username with an empty password. This allows unauthorized access to otherwise restricted Druid resources without valid credentials.
The vulnerability stems from improper validation of LDAP authentication responses when anonymous binds are permitted, effectively treating anonymous bind success as valid user authentication.
Impact
A remote, unauthenticated attacker can:
- Gain unauthorized access to the Apache Druid cluster
- Access sensitive data stored in Druid datasources
- Execute queries and potentially manipulate data
- Access administrative interfaces if the bypassed account has elevated privileges
- Completely compromise the confidentiality, integrity, and availability of the Druid deployment
Mitigation Immediate Mitigation (No Druid Upgrade Required):
- Disable anonymous bind on your LDAP server. This prevents the vulnerability from being exploitable and is the recommended immediate action.
Resolution
- Upgrade Apache Druid to version 36.0.0 or later, which includes fixes to properly reject anonymous LDAP bind attempts.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.druid.extensions:druid-basic-security | >= 0.17.0, < 36.0.0 | 36.0.0 |
References
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-287- Platform
- Java / Kotlin (Maven)
- Package
org.apache.druid.extensions:druid-basic-security- Disclosed
- 10.02.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-q672-hfc7-g833 - CC BY 4.0
Vulnerability history: org.apache.druid.extensions:druid-basic-security
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.