CVE-2026-84501
published medium CVSS 3.1 · 5.3Apache ZooKeeper: Operational log forgery via newline injection in EnsembleAuthenticationProvider
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.zookeeper:zookeeperApache ZooKeeper · 3.9.0 through 3.9.5 · 3.8.0 through 3.8.6 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0 through 3.9.5 (affected · maven)3.8.0 through 3.8.6 (affected · maven)Default: unaffected | apache · cna |
Weaknesses
1- CWE-117 CWE-117 Improper output neutralization for logs
References
2Provider assertions
3apache · cna
Apache ZooKeeper: Operational log forgery via newline injection in EnsembleAuthenticationProvider
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 20b902066bb5e4efa230a891e13bb239c7b5a41482a369f66a2c076df17c97fd
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record