CVE-2026-24308: Zookeeper Apache ZooKeeper Has Improper Handling Vulnerability
HIGHCVE-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
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.
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.9.5</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.8.6</version>
</dependency>
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
CVE-2026-24308 Affected Zookeeper Versions
2 component(s)| 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?
Which Zookeeper versions are affected?
What version fixes CVE-2026-24308?
Is zookeeper affected?
What CWE is associated with CVE-2026-24308?
How can I check Maven dependencies for CVE-2026-24308?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}