CVE-2026-84501: Apache ZooKeeper log injection via crafted add_auth request

CVE-2026-84501 · Severity: medium · CVSS 5.3 · Published 2026-09-16

Apache ZooKeeper is a distributed coordination service used by many enterprise systems to manage configuration and synchronization. An unauthenticated attacker can inject forged log entries that appear to be legitimate ZooKeeper operational logs, potentially misleading administrators and hindering incident investigation or compliance audits.

Technologies: Apache Zookeeper. Vendors: Apache.

Quick answers

Is CVE-2026-84501 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-84501 being exploited in the wild.
How severe is CVE-2026-84501?
Medium severity, with a CVSS score of 5.3, published 16 September 2026.
Which products and versions are affected?
Apache Zookeeper 3.8.0 through 3.8.6, 3.9.0 through 3.9.5.
Is there a fix for CVE-2026-84501?
A patch was published on 2026: Fixed in versions 3.8.7 and 3.9.6 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-84501 attacked?
It is attacked over the network.
Am I affected by CVE-2026-84501?
Check whether you run Apache Zookeeper at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a log injection flaw in EnsembleAuthenticationProvider.handleAuthentication(). When an attacker sends a crafted add_auth("ensemble", ...) request with an ensemble name containing newline characters (\n), the unsanitized name is logged via LOG.warn() using SLF4J's {} placeholder. SLF4J does not escape embedded newlines, allowing attackers to forge complete log entries with arbitrary timestamps, log levels, class names, and messages. The attack requires no authentication and is network-reachable. Patches are available in versions 3.8.7 and 3.9.6.

Affected products

  • Apache ZooKeeper 3.8.0 through 3.8.6, 3.9.0 through 3.9.5

Timeline

  • 2026-09-16: disclosed
  • 2026: patched: Fixed in versions 3.8.7 and 3.9.6

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.