CVE-2026-24281
Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.zookeeper » zookeeper | >= 3.8.0, < 3.8.6>= 3.9.0, < 3.9.5 | 3.8.6, 3.9.5 |
Blast radius
58% of the dependent artifacts (1,794) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 16,511 |
| 2 hops | 46,583 |
| 3 hops | 31,328 |
| 4 hops | 45,754 |
| 5 hops | 25,267 |
| 6 hops | 8,773 |
Most used dependents
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.apache.curator » curator-recipes1,197 usages
- org.apache.curator » curator-framework1,070 usages
- org.apache.curator » curator-test1,002 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.solr » solr-solrj784 usages
- org.apache.hive » hive-exec699 usages
- org.apache.hbase » hbase-common674 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-24281
- Webhttps://github.com/apache/zookeeper/commit/66c4efecdda1302d9cfb3af9eedb122b74452bf3
- Packagehttps://github.com/apache/zookeeper
- Webhttps://issues.apache.org/jira/browse/ZOOKEEPER-4986
- Webhttps://lists.apache.org/thread/088ddsbrzhd5lxzbqf5n24yg0mwh9jt2
- Webhttp://www.openwall.com/lists/oss-security/2026/03/07/4
