GitHub Advisoryadvisory · Maven

GHSA-7xrh-hqfc-g7qr Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager

HIGH Published 2026-03-07 Modified 2026-03-10 Official page ↗
Aliases
CVE-2026-24281
Ecosystem
Maven
Packages
org.apache.zookeeper:zookeeper
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-295, CWE-297
Reviewed
2026-03-10

Affected packages

• Maven org.apache.zookeeper:zookeeper: >= 3.8.0, < 3.8.6 → fixed in 3.8.6 • Maven org.apache.zookeeper:zookeeper: >= 3.9.0, < 3.9.5 → fixed in 3.9.5

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.

Related

Alias · CVE (1)

  • CVE-2026-24281 Hostname verification in Apache ZooKeeper ZKTrustManager falls back to reverse DNS (PTR) when IP SAN validation fails, allowing attackers… vulnerability

Weakness · CWE (2)

  • CWE-295 Improper Certificate Validation weakness
  • CWE-297 Improper Validation of Certificate with Host Mismatch weakness

References