CVE-2026-24281: CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action in Apache Software Foundation Apache 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.
AI Analysis
Technical Summary
CVE-2026-24281 describes a security vulnerability in Apache ZooKeeper's ZKTrustManager where hostname verification falls back to reverse DNS resolution (PTR) if IP SAN validation fails. Attackers who can control or spoof PTR records may impersonate ZooKeeper servers or clients by presenting a valid certificate trusted by ZKTrustManager for the PTR name. This fallback reliance on reverse DNS for security-critical decisions constitutes CWE-350. The vulnerability is mitigated by upgrading to Apache ZooKeeper versions 3.8.6 or 3.9.5, which introduce a configuration option to disable reverse DNS lookups in client and quorum protocols.
Potential Impact
An attacker able to spoof PTR records and present a trusted certificate for the PTR name can impersonate ZooKeeper servers or clients, potentially leading to unauthorized actions within the ZooKeeper environment. The vulnerability does not affect confidentiality or availability directly but impacts integrity by allowing impersonation. Exploitation requires the attacker to have a certificate trusted by ZKTrustManager, which raises the attack complexity. The CVSS 3.1 base score is 5.9 (medium severity) with network attack vector, high attack complexity, no privileges required, no user interaction, and impact limited to integrity.
Mitigation Recommendations
A fix is available by upgrading Apache ZooKeeper to versions 3.8.6 or 3.9.5, which add a configuration option to disable reverse DNS lookup in client and quorum protocols, thereby preventing reliance on potentially spoofed PTR records. Users should apply these updates to remediate the vulnerability. No other vendor advisories indicate alternative mitigations or that no action is required.
CVE-2026-24281: CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action in Apache Software Foundation Apache ZooKeeper
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.
CVSS v3.1
Score 5.9medium
Affected software
pkg:maven/org.apache.zookeeper/zookeeperRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-24281 describes a security vulnerability in Apache ZooKeeper's ZKTrustManager where hostname verification falls back to reverse DNS resolution (PTR) if IP SAN validation fails. Attackers who can control or spoof PTR records may impersonate ZooKeeper servers or clients by presenting a valid certificate trusted by ZKTrustManager for the PTR name. This fallback reliance on reverse DNS for security-critical decisions constitutes CWE-350. The vulnerability is mitigated by upgrading to Apache ZooKeeper versions 3.8.6 or 3.9.5, which introduce a configuration option to disable reverse DNS lookups in client and quorum protocols.
Potential Impact
An attacker able to spoof PTR records and present a trusted certificate for the PTR name can impersonate ZooKeeper servers or clients, potentially leading to unauthorized actions within the ZooKeeper environment. The vulnerability does not affect confidentiality or availability directly but impacts integrity by allowing impersonation. Exploitation requires the attacker to have a certificate trusted by ZKTrustManager, which raises the attack complexity. The CVSS 3.1 base score is 5.9 (medium severity) with network attack vector, high attack complexity, no privileges required, no user interaction, and impact limited to integrity.
Mitigation Recommendations
A fix is available by upgrading Apache ZooKeeper to versions 3.8.6 or 3.9.5, which add a configuration option to disable reverse DNS lookup in client and quorum protocols, thereby preventing reliance on potentially spoofed PTR records. Users should apply these updates to remediate the vulnerability. No other vendor advisories indicate alternative mitigations or that no action is required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-01-21T19:40:25.776Z
- Cvss Version
- null
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-24281","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14276","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14272","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8509","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","vendor":"Red Hat"}]
Threat ID: 69abe957c48b3f10ff7477f8
Added to database: 03/07/2026, 09:01:11 UTC
Last enriched: 07/15/2026, 13:31:09 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 298
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.