CVE-2026-24281
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 · uneditedHostname 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 confidenceApache 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.
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>= 3.8.0, < 3.8.6>= 3.9.0, < 3.9.5CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Identify installed ZooKeeper versionRun '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
-
Confirm SSL/TLS is enabledInspect 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
-
Verify default trust manager is in useCheck 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
-
Check if certificates use IP SANs or DNS namesInspect the trusted certificates in the configured truststore using 'keytool -list -v -keystore <truststore.jks>' and examine the Subject Alternative Name (SAN) fieldsAffected 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.
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 · scoped3.8.63.9.5
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.
Upgrade to Apache ZooKeeper 3.8.6 or 3.9.5
- 1. Back up your current ZooKeeper configuration, data directory, and any custom SSL/TLS settings
- 2. Download Apache ZooKeeper 3.8.6 or 3.9.5 from the official Apache distribution (https://zookeeper.apache.org/)
- 3. Stop the running ZooKeeper service on all nodes in the ensemble
- 4. Install or extract the new ZooKeeper version to replace the existing installation
- 5. Restore your configuration files from the backup (or update them if needed for the new version)
- 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. Start the ZooKeeper service on all nodes
- 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.
- Consultation4.0 h
- Implementation12.0 h
- Testing8.0 h
- Review / QA4.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-24281 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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