Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager

Summary

CVECVE-2026-24281
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-07 09:16:07 UTC
Updated2026-07-03 13:17:00 UTC
DescriptionHostname 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.

Risk And Classification

Primary CVSS: v3.1 7.4 HIGH from [email protected]

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

Problem Types: CWE-295 | CWE-350 | CWE-350 CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action | CWE-295 CWE-295 Improper Certificate Validation | CWE-295 Improper Certificate Validation


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1ADPDECLARED5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
3.1ADPCVSS7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Zookeeper All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache ZooKeeper affected 3.9.0 3.9.4 maven Not specified
CNA Apache Software Foundation Apache ZooKeeper affected 3.8.0 3.8.5 maven Not specified
ADP Red Hat Red Hat AMQ Broker 7.12.7 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7.13.5 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7.14.0 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI 2.25 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 2.9.4 Not specified Not specified
ADP Red Hat Red Hat Build Of Debezium 2 Not specified Not specified
ADP Red Hat Red Hat Build Of Debezium 3 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat Offline Knowledge Portal Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Streams For Apache Kafka 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel For Spring Boot 4 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:14276 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:8509 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-24281 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:10184 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
lists.apache.org/thread/088ddsbrzhd5lxzbqf5n24yg0mwh9jt2 [email protected] lists.apache.org Mailing List, Vendor Advisory
access.redhat.com/errata/RHSA-2026:34608 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24281.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/errata/RHSA-2026:14272 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
www.openwall.com/lists/oss-security/2026/03/07/4 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Nikita Markevich <[email protected]> (en)

Additional Advisory Data

SourceTimeEvent
ADP2026-03-07T09:00:57.868ZReported to Red Hat.
ADP2026-03-07T08:50:32.525ZMade public.

Solutions

ADP: RHSA-2026:14276: Red Hat AMQ Broker 7.12.7

ADP: RHSA-2026:14272: Red Hat AMQ Broker 7.13.5

ADP: RHSA-2026:8509: Red Hat AMQ Broker 7.14.0

ADP: RHSA-2026:10184: Red Hat OpenShift AI 2.25

ADP: RHSA-2026:34608: Streams for Apache Kafka 2.9.4

Workarounds

ADP: To mitigate this issue, disable reverse DNS lookup in Apache ZooKeeper's client and quorum protocols. This can be achieved by configuring the `zookeeper.ssl.hostnameVerification.disableReverseDns` property to `true`. This configuration option is available in Apache ZooKeeper versions 3.8.6 and 3.9.5 and later. A restart of the ZooKeeper service will be required for the change to take effect.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report