Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.zookeeper/zookeeper
  4. ›
  5. CVE-2026-24281

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

March 7, 2026 (updated March 10, 2026)

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

  • github.com/advisories/GHSA-7xrh-hqfc-g7qr
  • github.com/apache/zookeeper
  • github.com/apache/zookeeper/commit/66c4efecdda1302d9cfb3af9eedb122b74452bf3
  • issues.apache.org/jira/browse/ZOOKEEPER-4986
  • lists.apache.org/thread/088ddsbrzhd5lxzbqf5n24yg0mwh9jt2
  • nvd.nist.gov/vuln/detail/CVE-2026-24281

Code Behaviors & Features

Detect and mitigate CVE-2026-24281 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.8.0 before 3.8.6, all versions starting from 3.9.0 before 3.9.5

Fixed versions

  • 3.8.6
  • 3.9.5

Solution

Upgrade to versions 3.8.6, 3.9.5 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

maven/org.apache.zookeeper/zookeeper/CVE-2026-24281.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 12:18:35 +0000.