Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-24281: CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action in Apache Software Foundation Apache ZooKeeper

0
Medium
VulnerabilityCVE-2026-24281cvecve-2026-24281cwe-350cwe-295
Published: Sat Mar 07 2026 (03/07/2026, 08:50:32 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/14/2026, 19:35:33 UTC

Technical Analysis

CVE-2026-24281 is a vulnerability in Apache ZooKeeper's ZKTrustManager component related to hostname verification during TLS connections. When validating server or client certificates, ZooKeeper first checks the IP Subject Alternative Name (SAN) in the certificate. If this validation fails, it falls back to verifying the hostname via reverse DNS (PTR) lookup. This fallback mechanism is problematic because PTR records can be spoofed or controlled by an attacker, enabling them to impersonate legitimate ZooKeeper nodes by presenting a certificate trusted by the ZKTrustManager for the PTR hostname. The vulnerability is classified under CWE-350 (Reliance on Reverse DNS Resolution for a Security-Critical Action) and CWE-295 (Improper Certificate Validation). Exploiting this flaw requires the attacker to have a certificate trusted by the ZKTrustManager, which raises the bar for exploitation but does not eliminate risk. The impact is primarily on integrity, as attackers can impersonate nodes and potentially manipulate quorum decisions or client-server communications. No known exploits are currently in the wild. Apache fixed the issue in versions 3.8.6 and 3.9.5 by introducing a configuration option to disable reverse DNS lookups in client and quorum protocols, thereby removing the insecure fallback. Users running affected versions 3.8.0 and 3.9.0 are strongly advised to upgrade or apply mitigations to avoid impersonation attacks within their distributed coordination services.

Potential Impact

The vulnerability undermines the integrity of ZooKeeper's authentication and authorization mechanisms by allowing attackers to impersonate legitimate servers or clients if they can spoof PTR records and present a trusted certificate. This can lead to unauthorized access, manipulation of distributed coordination data, and potential disruption of services relying on ZooKeeper for configuration management, leader election, or synchronization. While confidentiality and availability are not directly impacted, the integrity compromise can cascade into broader security issues, including unauthorized configuration changes or denial of service through malicious quorum manipulation. Organizations using affected versions in critical infrastructure, cloud services, or large-scale distributed systems face increased risk of targeted attacks aiming to disrupt or control their coordination services. The requirement for a trusted certificate limits the attack surface but does not eliminate it, especially in environments where certificate management is weak or compromised.

Mitigation Recommendations

Organizations should upgrade Apache ZooKeeper to versions 3.8.6 or 3.9.5, which include a new configuration option to disable reverse DNS lookups in client and quorum protocols, effectively removing the insecure fallback. If immediate upgrade is not feasible, administrators should configure ZooKeeper to disable reverse DNS resolution explicitly, if supported, or restrict network access to ZooKeeper nodes to trusted hosts only, minimizing exposure to attackers capable of spoofing PTR records. Additionally, organizations should audit and tighten certificate issuance and trust policies to ensure that only authorized certificates are accepted by ZKTrustManager. Monitoring DNS records for unauthorized changes and implementing DNS security extensions (DNSSEC) can help detect or prevent PTR record spoofing. Regularly reviewing ZooKeeper logs for unusual authentication failures or unexpected node identities can aid in early detection of exploitation attempts. Finally, integrating ZooKeeper security with broader infrastructure security controls, such as network segmentation and strong identity management, will reduce the overall risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-01-21T19:40:25.776Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69abe957c48b3f10ff7477f8

Added to database: 3/7/2026, 9:01:11 AM

Last enriched: 3/14/2026, 7:35:33 PM

Last updated: 4/21/2026, 4:14:22 PM

Views: 153

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses