CVE-2026-24281

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

State
Published
Severity
5.9 Medium
Published
Mar 7, 2026
Updated
Jul 15, 2026
Reserved
Jan 21, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NCISA-ADP
3.17.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nredhat-SADP

Weaknesses

  • CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action
  • CWE-295 Improper Certificate Validation

Affected Products

ProductVersions
Apache ZooKeeperApache Software Foundation
  • 3.9.0 through 3.9.4Affected
  • 3.8.0 through 3.8.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.