CVE-2026-23906: Druid basic security Authentication Bypass Vulnerability

CRITICAL
Advisory Identifier: GHSA-q672-hfc7-g833
CWE-287
Published
Advisory Summary

CVE-2026-23906 is a CRITICAL authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Druid basic security libraries in the Maven ecosystem. The issue involves apache druid vulnerable to authentication bypass. Remediation is available by upgrading affected packages to version 36.0.0.

CVE-2026-23906 at a Glance

CVE Identifier CVE-2026-23906
GHSA Identifier GHSA-q672-hfc7-g833
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Druid basic security
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-23906

To remediate this vulnerability, upgrade all affected Druid basic security dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.druid.extensions:druid-basic-security fixed: 36.0.0
<dependency>
    <groupId>org.apache.druid.extensions</groupId>
    <artifactId>druid-basic-security</artifactId>
    <version>36.0.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.druid.extensions

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-23906, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.druid.extensions

Analyze the terminal output to locate any version of Druid basic security in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 36.0.0), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.druid.extensions command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Druid basic security, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-23906 Affected Druid basic security Versions

1 component(s)
Fixed Versions:
36.0.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.druid.extensions:druid-basic-security
Maven
≥ 0.17.0
< 36.0.0
36.0.0

References

Frequently Asked Questions

What is CVE-2026-23906?
CVE-2026-23906 is a security vulnerability in Druid basic security involving Apache Druid Vulnerable to Authentication Bypass under CWE-287: Improper Authentication.
Which Druid basic security versions are affected?
Affected versions include releases prior to 36.0.0 across affected packages: org.apache.druid.extensions:druid-basic-security.
What version fixes CVE-2026-23906?
Upgrading to 36.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is druid-basic-security affected?
Yes, org.apache.druid.extensions:druid-basic-security is affected in releases prior to 36.0.0. Upgrade your dependency to 36.0.0 or later.
What CWE is associated with CVE-2026-23906?
CVE-2026-23906 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2026-23906?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.druid.extensions'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q672-hfc7-g833",
  "modified" : "2026-02-12T14:20:10Z",
  "published" : "2026-02-10T12:30:28Z",
  "aliases" : [ "CVE-2026-23906" ],
  "summary" : "Apache Druid Vulnerable to Authentication Bypass",
  "details" : "Affected Products and Versions\n  *  Apache Druid\n  *  Affected Versions: 0.17.0 through 35.x (all versions prior to 36.0.0)\n  *  Prerequisites:  *  druid-basic-security extension enabled\n  *  LDAP authenticator configured\n  *  Underlying LDAP server permits anonymous bind                                                                                                                                                   \n\n\n\n\n\n\nVulnerability Description\n\nAn 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\nbinds, 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.\n\nThe vulnerability stems from improper validation of LDAP authentication responses when anonymous binds are permitted, effectively treating anonymous bind success as valid user authentication. \n\nImpact\n\nA remote, unauthenticated attacker can:\n  *  Gain unauthorized access to the Apache Druid cluster\n  *  Access sensitive data stored in Druid datasources\n  *  Execute queries and potentially manipulate data\n  *  Access administrative interfaces if the bypassed account has elevated privileges\n  *  Completely compromise the confidentiality, integrity, and availability of the Druid deployment                                                                                                                                                                                    \n\n\nMitigation\n \nImmediate Mitigation (No Druid Upgrade Required):                                                                                                                                                    \n  *  Disable anonymous bind on your LDAP server. This prevents the vulnerability from being exploitable and is the recommended immediate action.\n\n\n\nResolution\n  *  Upgrade Apache Druid to version 36.0.0 or later, which includes fixes to properly reject anonymous LDAP bind attempts.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.druid.extensions:druid-basic-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.17.0"
      }, {
        "fixed" : "36.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23906"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/druid"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/2x9rv3kv6t1p577lvq4z0rl0zlt9g4sr"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/02/09/5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-10T14:33:40Z",
    "nvd_published_at" : "2026-02-10T10:15:59Z"
  }
}