CVE-2026-84501
JSON

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 packageVersionsReported by
org.apache.zookeeper:zookeeperfrom 3.9.0 up to 3.9.5, from 3.8.0 up to 3.8.6CVE List
apache zookeeperfrom 3.8.0 before 3.8.7, from 3.9.0 before 3.9.6NVD
zookeeper (Bitnami)from 3.8.0 before 3.8.7, from 3.9.0 before 3.9.6Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-117

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-84501 changed 2026-09-16CVE Terms of Use
NVDCVE-2026-84501 changed 2026-09-18Public domain
Bitnami Vulnerability DatabaseBIT-ZOOKEEPER-2026-84501 changed 2026-09-19Apache-2.0