cve.bz

CVE-2026-84501 apache zookeeper: Improper Output Neutralization for Logs

5.3 mediumEPSS 0.7%

Medium (5.3) in apache zookeeper. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-117 Improper Output Neutralization for Logs
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-84501 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84501?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84501?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84501 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache ZooKeeperfrom 3.9.0 through 3.9.5
Apache Software Foundation Apache ZooKeeperfrom 3.8.0 through 3.8.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13zookeeperno fix listedDEBIAN-CVE-2026-84501
Debian14zookeeper3.9.6-1DEBIAN-CVE-2026-84501
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 5 morezookeeperno fix listedUBUNTU-CVE-2026-84501

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in Apache ZooKeeper. Operational log entries can be forged via newline injection in ensemble authentication requests, allowing unauthenticated attackers to inject arbitrary log records. This may obscure malicious activity or create false audit trails. This issue affects Apache ZooKeeper versions 3.8.0 through 3.8.6 and 3.9.0 through 3.9.5.

Red Hat's mitigation

Update to Apache ZooKeeper 3.8.7, 3.9.6, or later.

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Application Platform 8.1parentFixed 2026-11-04RHSA-2026:95221
Red Hat JBoss Enterprise Application Platform 8.1zookeeperFixed 2026-11-04RHSA-2026:95221
Red Hat OpenShift AI 2.25rhoai/odh-modelmesh-rhel9:1793340746Fixed 2026-11-19RHSA-2026:100634
Red Hat AMQ Broker 7parentAffected
Red Hat AMQ Broker 7zookeeperAffected
Red Hat AMQ Broker 7zookeeper-juteAffected
Red Hat build of Apache Camel 4 for Quarkus 3flink-shaded-zookeeper-3Not affected
Red Hat build of Apache Camel for Spring Boot 4flink-shaded-zookeeper-3Affected
Red Hat build of Apache Camel for Spring Boot 4flink-shaded-zookeeper-parentAffected
Red Hat Fuse 7camel-zookeeperWill not fix
Red Hat Fuse 7camel-zookeeper-masterWill not fix
Red Hat Fuse 7org.linkedin.zookeeper-implWill not fix
Red Hat Fuse 7zookeeperWill not fix
Red Hat Fuse 7zookeeper-juteWill not fix
Red Hat JBoss Enterprise Application Platform 8parentNot affected
Red Hat JBoss Enterprise Application Platform 8zookeeperNot affected
Red Hat JBoss Enterprise Application Platform Expansion PackparentAffected
Red Hat JBoss Enterprise Application Platform Expansion PackzookeeperAffected
Red Hat Offline Knowledge Portaloffline-knowledge-portal/rhokp-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-spark-operator-rhel9Not affected
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84501.

Attack patterns (CAPEC)

  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-268 Audit Log Manipulation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON