CVEfocus › CVE database › CVE-2026-84501

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

CVSS 5.3 MediumEPSS 0.7% (higher than 51% of CVEs)Published 2026-09-16Updated 2026-09-16Assigner: apache

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.

CWE-117

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

1Fixed
7Fix pending
3Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10zookeeperFix pendingUBUNTU-CVE-2026-84501
Ubuntu 26.04zookeeperUnder investigationUBUNTU-CVE-2026-84501
Ubuntu 24.04zookeeperUnder investigationUBUNTU-CVE-2026-84501
Ubuntu 22.04zookeeperUnder investigationUBUNTU-CVE-2026-84501
Ubuntu 20.04zookeeperFix pendingUBUNTU-CVE-2026-84501
Ubuntu 18.04zookeeperFix pendingUBUNTU-CVE-2026-84501
Ubuntu 16.04zookeeperFix pendingUBUNTU-CVE-2026-84501
Ubuntu 14.04zookeeperFix pendingUBUNTU-CVE-2026-84501
Debian 14zookeeperFixed3.9.6-1DEBIAN-CVE-2026-84501
Debian 13zookeeperFix pendingDEBIAN-CVE-2026-84501
Debian 12zookeeperFix pendingDEBIAN-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.

Vendor advisories:

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.