# CVE-2026-84501: Apache ZooKeeper: Operational log forgery via newline injection in EnsembleAuthenticationProvider

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-16 · Modified: 2026-09-16
- Aliases: UBUNTU-CVE-2026-84501, DEBIAN-CVE-2026-84501
- Record: https://cvemate.com/vulnerability/CVE-2026-84501 · JSON: https://cvemate.com/vulnerability/CVE-2026-84501/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.7%, percentile 54.566%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache zookeeper: ≥ 3.9.0, ≤ 3.9.5 \| ≥ 3.8.0, ≤ 3.8.6
- apache zookeeper: ≥ 3.8.0, \< 3.8.7 \| ≥ 3.9.0, \< 3.9.6
- debian zookeeper (Debian): All versions (No fix recorded) \| \< 3.9.6-1
- ubuntu zookeeper (Ubuntu): All versions (No fix recorded)

## References

- <https://lists.apache.org/thread/ohby1g6zjt72p0w79rhbr41nczzvr33y>
- <http://www.openwall.com/lists/oss-security/2026/09/15/7>
- <https://ubuntu.com/security/CVE-2026-84501>
- <https://www.cve.org/CVERecord?id=CVE-2026-84501>
- <https://security-tracker.debian.org/tracker/CVE-2026-84501>

---

Data as of 2026-12-05T04:46:57.224Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
