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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-09-16T09:28:10.294Z
- Modified: 2026-09-19T09:15:03.074Z
- Also known as: BIT-ZOOKEEPER-2026-84501
- Weaknesses: CWE-117
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.zookeeper:zookeeper: from 3.9.0 up to 3.9.5; from 3.8.0 up to 3.8.6
- apache zookeeper: from 3.8.0 before 3.8.7; from 3.9.0 before 3.9.6
- zookeeper (Bitnami): from 3.8.0 before 3.8.7; from 3.9.0 before 3.9.6

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## 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

- CVE List: [CVE-2026-84501](https://www.cve.org/CVERecord?id=CVE-2026-84501), CVE Terms of Use, modified 2026-09-16
- NVD: [CVE-2026-84501](https://nvd.nist.gov/vuln/detail/CVE-2026-84501), Public domain, modified 2026-09-18
- Bitnami Vulnerability Database: [BIT-ZOOKEEPER-2026-84501](https://osv.dev/vulnerability/BIT-ZOOKEEPER-2026-84501), Apache-2.0, modified 2026-09-19

---

Page: https://cve.day/CVE-2026-84501 · Whole record: https://cve.day/CVE-2026-84501.json · Rebuilt by cve.day 2026-11-25T22:59:38.935Z
