Analyze CVE-2026-84501 with Vani AIImpact, affected versions, exploitation status, mitigations and detectionAn unauthenticated client can forge arbitrary entries in Apache ZooKeeper's operational log by sending a crafted add_auth("ensemble", ...) request whose name contains newline characters; when the name fails to match, EnsembleAuthenticationProvider.handleAuthentication() passes it unsanitized to LOG.warn(), and SLF4J's {} placeholder preserves the embedded newlines so attacker-chosen timestamps, levels, class names, and messages render as authentic log lines. Triggering requires only network reachability to the ZooKeeper client port (typically 2181) from an untrusted client. The attacker gains the ability to pollute the operational log — planting fake entries, obscuring real activity, misleading forensics, and potentially generating false alerts in log-based monitoring — but obtains no code execution or data access. Operators running Apache ZooKeeper 3.8.0 through 3.8.6 or 3.9.0 through 3.9.5 are affected. No public proof-of-concept or known in-the-wild exploitation has been reported, and no CVSS score is available yet.
What to do: Upgrade to Apache ZooKeeper 3.8.7 or 3.9.6, which fix the issue. Restrict the ZooKeeper client port (2181) to trusted networks and clients, and review recent logs for entries with anomalous timestamps or formatting that could indicate forged lines. Treat ZooKeeper log content as untrusted in SIEM pipelines and automated alerting until patched.
| Product | Affected |
|---|
| Apache ZooKeeper | 3.9.0 through 3.9.5 |
| Apache ZooKeeper | 3.8.0 through 3.8.6 |
Estimated exposure
largetens of thousands of deployments plausibly affected (thousands of instances exposed on port 2181; far more internal installs) — ZooKeeper is a standard coordination component of widely deployed Kafka, Hadoop, HBase, and SolrCloud clusters, but public internet scans of port 2181 show only thousands of directly exposed instances, and most deployments restrict the…
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
An unauthenticated attacker can inject arbitrary fake log lines into Apache ZooKeeper's operational log by sending a crafted add_auth("ensemble", ...) request containing newline characters (\n). When the ensemble name doesn't match, EnsembleAuthenticationProvider.handleAuthentication() logs the raw, unsanitized name via LOG.warn(). Because SLF4J's {} placeholder preserves embedded newlines, the attacker can forge complete log entries — with arbitrary timestamps, log levels, class names, and messages — that are visually indistinguishable from genuine ZooKeeper log output. This issue affects Apache ZooKeeper: from 3.9.0 through 3.9.5, from 3.8.0 through 3.8.6. Users are recommended to upgrade to version 3.8.7 or 3.9.6, which fixes the issue.
- Vendors
- apache
- Products
- zookeeper
- Weakness
- CWE-117
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
In the news
1 story
Unauthenticated attackers can forge Apache ZooKeeper operational log lines via newline injection in crafted ensemble authentication requests.
30