AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

Apache ZooKeeperGHSA-7xrh-hqfc-g7qr

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

Apache ZooKeeper

CVE-2026-24281 · Published Mar 7, 2026 · updated Sep 10, 2026

High7.4
Fix: upgrade to 3.8.6 or later (2 fixed versions below)
GitHub advisory

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 versions

PackageAffectedFixed in
org.apache.zookeeper:zookeeper
Maven
>= 3.8.0, < 3.8.63.8.6
>= 3.9.0, < 3.9.53.9.5
Details and references

More Apache ZooKeeper advisories

All Apache ZooKeeper