CVE-2026-84501
MEDIUM 5.3CVSS 3.1An 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.
- Published
- 16 Sep 2026
- Last modified
- 18 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-117
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | zookeepercpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* |
>= 3.8.0, < 3.8.7 | 3.8.7 |
| NVD | apache | zookeepercpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* |
>= 3.9.0, < 3.9.6 | 3.9.6 |
References
- https://lists.apache.org/thread/ohby1g6zjt72p0w79rhbr41nczzvr33y · Mailing List, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/09/15/7 · Mailing List
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)