CVE-2026-24281Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper…
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | zookeeper | Fix pending | UBUNTU-CVE-2026-24281 | |
| Ubuntu 26.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-24281 | |
| Ubuntu 25.10 | zookeeper | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-24281 | |
| Ubuntu 24.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-24281 | |
| Ubuntu 22.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-24281 | |
| Ubuntu 20.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-24281 | |
| Ubuntu 18.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-24281 | |
| Ubuntu 16.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-24281 | |
| Ubuntu 14.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-24281 | |
| Debian 14 | zookeeper | Fixed | 3.9.5-1 | DEBIAN-CVE-2026-24281 |
| Debian 13 | zookeeper | Fix pending | DEBIAN-CVE-2026-24281 | |
| Debian 12 | zookeeper | Fix pending | DEBIAN-CVE-2026-24281 | |
| Maven library | org.apache.zookeeper:zookeeper | Fixed | 3.9.5 | GHSA-7xrh-hqfc-g7qr |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache ZooKeeper: affected: 3.9.0 to 3.9.4, 3.8.0 to 3.8.5
Vendor advisories:
- https://lists.apache.org/thread/088ddsbrzhd5lxzbqf5n24yg0mwh9jt2 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.