5.3medium
Apache ZooKeeper: Operational log forgery via newline injection in EnsembleAuthenticationProvider
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.70% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- BIT-ZOOKEEPER-2026-84501
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.zookeeper:zookeeper | from 3.9.0 up to 3.9.5, from 3.8.0 up to 3.8.6 | CVE List |
| apache zookeeper | from 3.8.0 before 3.8.7, from 3.9.0 before 3.9.6 | NVD |
| zookeeper (Bitnami) | from 3.8.0 before 3.8.7, from 3.9.0 before 3.9.6 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://lists.apache.org/thread/ohby1g6zjt72p0w79rhbr41nczzvr33y | advisory, mailing-list, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2026/09/15/7 | discussion, mailing-list | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-84501 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-84501 changed 2026-09-16 | CVE Terms of Use |
| NVD | CVE-2026-84501 changed 2026-09-18 | Public domain |
| Bitnami Vulnerability Database | BIT-ZOOKEEPER-2026-84501 changed 2026-09-19 | Apache-2.0 |