CVE-2026-24308

Apache ZooKeeper: Sensitive information disclosure in client configuration handling

Published Mar 7, 2026 CVSS 3.1 · 6.5 Medium EPSS 1.3% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

In ZooKeeper 3.8.5 and 3.9.4 the configuration reader transparently writes client configuration values to log files at INFO level. When a client starts, the configuration file is parsed and the values, which may include passwords or other secrets, are logged without masking. The resulting logs contain sensitive information that can be read by any party with access to the log files, thereby leaking credentials and other confidential data. This flaw represents a straightforward confidentiality breach arising from improper logging practice.

Affected Systems

All platforms running Apache ZooKeeper version 3.8.5 or 3.9.4 are affected. The vulnerability is present in the generic ZooKeeper client, so any installation that includes the client component and writes logs will be impacted. Affected versions are 3.8.5 and 3.9.4; the fix is available in 3.8.6 and 3.9.5.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity vulnerability. EPSS indicates an exploitation likelihood of 1%, suggesting a low probability of public exploitation at this time. The vulnerability is not currently listed in the CISA KEV catalog. The exploitation vector is likely local or involves an attacker who can influence client configuration or has access to the log files, because the sensitive data is only written to logs during normal client startup and logging is performed at INFO level.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ZooKeeper to version 3.8.6 or 3.9.5 which removes logging of sensitive configuration values, addressing the improper logging of confidential information (CWE‑117).
  • Reconfigure the logging framework to suppress or mask configuration values during logging, thereby preventing leakage of secrets and mitigating the excessive logging issue (CWE‑532).
  • Set strict file system permissions on ZooKeeper log files so that only privileged users can read them, reducing the risk that leaked sensitive data can be accessed by unauthorized parties.

Generated by OpenCVE AI on June 18, 2026 at 04:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-crhr-qqj8-rpxc Apache ZooKeeper has improper handling of configuration values
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Weaknesses CWE-117
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Apache
Apache zookeeper
Vendors & Products Apache
Apache zookeeper
Type Values Removed Values Added
Description 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.
Title Apache ZooKeeper: Sensitive information disclosure in client configuration handling
Weaknesses CWE-532
References
Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs

  • CWE-532

    Insertion of Sensitive Information into Log File

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jul 15, 2026, 2:46 AM
Reserved
Jan 21, 2026, 9:37 PM
Status
Modified
Published
Mar 7, 2026, 9:16 AM
Modified
Jul 15, 2026, 2:18 AM
Severity
Moderate
Public date
Mar 7, 2026, 8:51 AM