High

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

  • Disclosed: 07.03.2026
  • Updated: 11.10.2026 13:20

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.zookeeper:zookeeper >= 3.8.0, < 3.8.6, >= 3.9.0, < 3.9.5 3.8.6, 3.9.5

References

CVSS score 7.4/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-295, CWE-297
Platform
Java / Kotlin (Maven)
Package
org.apache.zookeeper:zookeeper
Disclosed
07.03.2026
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7xrh-hqfc-g7qr - CC BY 4.0

Vulnerability history: org.apache.zookeeper:zookeeper

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (9) in the archive
Total entries
9
First → latest
05.2019 03.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 5
  • Medium 3

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 2
  5. 2023: 1
  6. 2024: 2
  7. 2025: 1
  8. 2026: 2
Severity:
  1. High CVE-2026-24308 >= 3.9.0, < 3.9.5, >= 3.8.0, < 3.8.6 3.9.5, 3.8.6
  2. Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager this entry
    High · 7.4 CVE-2026-24281 >= 3.8.0, < 3.8.6, >= 3.9.0, < 3.9.5 3.8.6, 3.9.5
  3. Critical · 9.1 CVE-2023-44981 < 3.7.2, >= 3.8.0, < 3.8.3, >= 3.9.0, < 3.9.1 3.7.2, 3.8.3, 3.9.1
  4. High · 7.5 CVE-2017-5637 >= 3.4.0, < 3.4.10, >= 3.5.0, < 3.5.3 3.4.10, 3.5.3
  5. High · 7.5 CVE-2018-8012 < 3.4.10, >= 3.5.0-alpha, < 3.5.4-beta 3.4.10, 3.5.4-beta

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.