CVE Watchtower

CVE-2026-84501Apache Software Foundation Apache ZooKeeper Improper Output Neutralization for Logs

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(5.3)
Published Date
Sep 16, 2026
Last Modified
Sep 16, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.74%Probability
Root Weakness (CWE)
The product constructs a log message from external input but does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.
CVSS v3.0 Base Metrics — Score 5.3 (MEDIUM)
CVSS:3.0

Affected & Patched Versions

Affected Versions
  • Apache Software Foundation Apache ZooKeeper >= 3.9.0 and <= 3.9.5
  • Apache Software Foundation Apache ZooKeeper >= 3.8.0 and <= 3.8.6
Patched Versions
  • Apache Software Foundation Apache ZooKeeper 3.9.5
  • Apache Software Foundation Apache ZooKeeper 3.8.6

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Apache Software Foundation Apache ZooKeeper and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Sep 16, 2026Published
  • Sep 16, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Software Foundation Apache ZooKeeper CVEsYou are reading CVE-2026-84501. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 19, 2026 20:15 UTC