CVE-2026-24281: 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...
High CVSS 7.4
- CVE id
- CVE-2026-24281
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache ZooKeeper Runtimes and servers |
>= 3.8.0, < 3.8.6 >= 3.9.0, < 3.9.5 |
3.8.6, 3.9.5 |
How to fix it
Upgrade Apache ZooKeeper to the fixed release of the line you run: 3.8.6, 3.9.5.
- Upgrade ZooKeeper (the zookeeper image tag or packages) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2026-24281 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-24281
- Web: https://lists.apache.org/thread/088ddsbrzhd5lxzbqf5n24yg0mwh9jt2
- Web: https://access.redhat.com/errata/RHSA-2026:10184
- Web: https://access.redhat.com/errata/RHSA-2026:14272
- Web: https://access.redhat.com/errata/RHSA-2026:14276
- Web: https://access.redhat.com/errata/RHSA-2026:34608
- Web: https://access.redhat.com/errata/RHSA-2026:8509
- Web: https://access.redhat.com/security/cve/CVE-2026-24281
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2445449
- Web: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24281.json
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.