CVE-2026-84501Apache ZooKeeper: Operational log forgery via newline injection in…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | zookeeper | Fix pending | UBUNTU-CVE-2026-84501 | |
| Ubuntu 26.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-84501 | |
| Ubuntu 24.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-84501 | |
| Ubuntu 22.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-84501 | |
| Ubuntu 20.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-84501 | |
| Ubuntu 18.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-84501 | |
| Ubuntu 16.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-84501 | |
| Ubuntu 14.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-84501 | |
| Debian 14 | zookeeper | Fixed | 3.9.6-1 | DEBIAN-CVE-2026-84501 |
| Debian 13 | zookeeper | Fix pending | DEBIAN-CVE-2026-84501 | |
| Debian 12 | zookeeper | Fix pending | DEBIAN-CVE-2026-84501 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache ZooKeeper: affected: 3.9.0 to 3.9.5, 3.8.0 to 3.8.6
Vendor advisories:
- https://lists.apache.org/thread/ohby1g6zjt72p0w79rhbr41nczzvr33y (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.