CVE-2026-24308: Zookeeper Apache ZooKeeper Has Improper Handling Vulnerability

HIGH
Advisory Identifier: GHSA-crhr-qqj8-rpxc
CWE-532
Published
Advisory Summary

CVE-2026-24308 is a HIGH apache zookeeper has improper handling vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Zookeeper libraries in the Maven ecosystem. The issue involves apache zookeeper has improper handling of configuration values. Remediation is available by upgrading affected packages to version 3.9.5, 3.8.6.

CVE-2026-24308 at a Glance

CVE Identifier CVE-2026-24308
GHSA Identifier GHSA-crhr-qqj8-rpxc
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Zookeeper
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-24308

To remediate this vulnerability, upgrade all affected Zookeeper 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.zookeeper:zookeeper fixed: 3.9.5
<dependency>
    <groupId>org.apache.zookeeper</groupId>
    <artifactId>zookeeper</artifactId>
    <version>3.9.5</version>
</dependency>
org.apache.zookeeper:zookeeper fixed: 3.8.6
<dependency>
    <groupId>org.apache.zookeeper</groupId>
    <artifactId>zookeeper</artifactId>
    <version>3.8.6</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.zookeeper

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.zookeeper

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

Note: The mvn dependency:tree -Dincludes=org.apache.zookeeper 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-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Zookeeper, 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

Improper handling of configuration values in ZKConfig in Apache ZooKeeper 3.8.5 and 3.9.4 on all platforms allows an attacker to expose sensitive information stored in client configuration in the client's logfile. Configuration values are exposed at INFO level logging rendering potential production systems affected by the issue. Users are recommended to upgrade to version 3.8.6 or 3.9.5 which fixes this issue.

CVE-2026-24308 Affected Zookeeper Versions

2 component(s)
Fixed Versions:
3.9.53.8.6
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.zookeeper:zookeeper
Maven
≥ 3.9.0
< 3.9.5
3.9.5
org.apache.zookeeper:zookeeper
Maven
≥ 3.8.0
< 3.8.6
3.8.6

References

Frequently Asked Questions

What is CVE-2026-24308?
CVE-2026-24308 is a security vulnerability in Zookeeper involving Apache ZooKeeper has improper handling of configuration values under CWE-532: Insertion of Sensitive Information into Log File.
Which Zookeeper versions are affected?
Affected versions include releases prior to 3.9.5, 3.8.6 across affected packages: org.apache.zookeeper:zookeeper.
What version fixes CVE-2026-24308?
Upgrading to 3.9.5, 3.8.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zookeeper affected?
Yes, org.apache.zookeeper:zookeeper is affected in releases prior to 3.9.5, 3.8.6. Upgrade your dependency to 3.9.5, 3.8.6 or later.
What CWE is associated with CVE-2026-24308?
CVE-2026-24308 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Maven dependencies for CVE-2026-24308?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.zookeeper'. 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-crhr-qqj8-rpxc",
  "modified" : "2026-03-09T18:19:16Z",
  "published" : "2026-03-07T09:30:15Z",
  "aliases" : [ "CVE-2026-24308" ],
  "summary" : "Apache ZooKeeper has improper handling of configuration values",
  "details" : "Improper handling of configuration values in ZKConfig in Apache ZooKeeper 3.8.5 and 3.9.4 on all platforms allows an attacker to expose sensitive information stored in client configuration in the client's logfile. Configuration values are exposed at INFO level logging rendering potential production systems affected by the issue. Users are recommended to upgrade to version 3.8.6 or 3.9.5 which fixes this issue.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.zookeeper:zookeeper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9.0"
      }, {
        "fixed" : "3.9.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.zookeeper:zookeeper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.8.0"
      }, {
        "fixed" : "3.8.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24308"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/zookeeper"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/zookeeper/releases/tag/release-3.8.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/zookeeper/releases/tag/release-3.9.5"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/qng3rtzv2pqkmko4rhv85jfplkyrgqdr"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/03/07/5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-09T18:19:16Z",
    "nvd_published_at" : "2026-03-07T09:16:07Z"
  }
}