ZookeeperApplication · Apache

CVE-2026-24281

HIGH · 7.4 CVSS v3.1 Published 2026-03-07
Fix available
A fix is available. Upgrade to 3.8.6 / 3.9.5 or later.
See remediation →
83/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Hostname verification in Apache ZooKeeper ZKTrustManager falls back to reverse DNS (PTR) when IP SAN validation fails, allowing attackers who control or spoof PTR records to impersonate ZooKeeper servers or clients with a valid certificate for the PTR name. It's important to note that attacker must present a certificate which is trusted by ZKTrustManager which makes the attack vector harder to exploit. Users are recommended to upgrade to version 3.8.6 or 3.9.5, which fixes this issue by introducing a new configuration option to disable reverse DNS lookup in client and quorum protocols.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Apache ZooKeeper's ZKTrustManager performs hostname verification by checking IP Subject Alternative Names (SANs) first, but falls back to reverse DNS (PTR) lookup when IP SAN validation fails. This fallback behavior allows attackers who control or spoof PTR records to impersonate ZooKeeper servers or clients by presenting a certificate that is valid for the PTR-resolved hostname, provided they also present a certificate trusted by ZKTrustManager.

MitigationUpgrade to Apache ZooKeeper 3.8.6 or 3.9.5, which introduces a configuration option to disable reverse DNS lookup in both client and quorum protocols, eliminating the vulnerable fallback behavior.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
ZookeeperApplication
Affected:>= 3.8.0, < 3.8.6>= 3.9.0, < 3.9.5

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed ZooKeeper version
    Run 'zookeeper-server version' or check the JAR file name in the installation directory (e.g., zookeeper-3.x.x.jar)
    Affected if Version is >= 3.8.0 and < 3.8.6, or >= 3.9.0 and < 3.9.5
  2. Confirm SSL/TLS is enabled
    Inspect ZooKeeper configuration files (zoo.cfg) for 'ssl' or 'TLS' related settings such as 'ssl.clientAuth' or 'secureClientPort'
    Affected if SSL/TLS is enabled and ZKTrustManager is used for certificate validation
  3. Verify default trust manager is in use
    Check server and client configurations for custom truststore/trustmanager settings; examine JVM system properties like 'javax.net.ssl.trustStore' and 'zookeeper.ssl.trustManager'
    Affected if No custom trust manager is configured and the default ZKTrustManager is handling certificate verification
  4. Check if certificates use IP SANs or DNS names
    Inspect the trusted certificates in the configured truststore using 'keytool -list -v -keystore <truststore.jks>' and examine the Subject Alternative Name (SAN) fields
    Affected if Certificates contain IP addresses in SANs, which triggers the fallback to PTR lookup when IP validation fails

You are affected if you run ZooKeeper 3.8.0-3.8.5 or 3.9.0-3.9.4 with SSL/TLS enabled using the default ZKTrustManager, and your trusted certificates contain IP SANs that could trigger the vulnerable PTR fallback behavior.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.8.6 / 3.9.5 or later
Fixed in 3.8.63.9.5
Interim mitigation

Upgrade to Apache ZooKeeper 3.8.6 or 3.9.5, which introduces a configuration option to disable reverse DNS lookup in both client and quorum protocols, eliminating the vulnerable fallback behavior.

Recommended fix High confidence

Upgrade to Apache ZooKeeper 3.8.6 or 3.9.5

  1. 1. Back up your current ZooKeeper configuration, data directory, and any custom SSL/TLS settings
  2. 2. Download Apache ZooKeeper 3.8.6 or 3.9.5 from the official Apache distribution (https://zookeeper.apache.org/)
  3. 3. Stop the running ZooKeeper service on all nodes in the ensemble
  4. 4. Install or extract the new ZooKeeper version to replace the existing installation
  5. 5. Restore your configuration files from the backup (or update them if needed for the new version)
  6. 6. If using SSL/TLS, review the new configuration option to disable reverse DNS lookup (refer to ZooKeeper documentation for 'sslHostnameVerificationDisableReverseDns' or similar setting)
  7. 7. Start the ZooKeeper service on all nodes
  8. 8. Verify the service is running correctly and client connections work as expected

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Zookeeper Scoped from the published advisory
  • Consultation4.0 h
  • Implementation12.0 h
  • Testing8.0 h
  • Review / QA4.0 h
28.0 hours of engineering $4,880
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,808.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-24281 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-24281 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data