Skip to main content
← All vulnerabilities
CVE-2026-24281GHSA-7XRH-HQFC-G7QRBIT-ZOOKEEPER-2026-24281

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.8.6, 3.9.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • org.apache.zookeeper:zookeeper

    From 3.9.0 · through 3.9.4; From 3.8.0 · through 3.8.5

  • org.apache.zookeeper:zookeeperMaven

    From 3.8.0 · fixed in 3.8.6

  • org.apache.zookeeper:zookeeperMaven

    From 3.9.0 · fixed in 3.9.5

References 1

lists.apache.org