Skip to content
VulniPulse
Medium5.3Apache Software Foundation

CVE-2026-84501: 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)

This Apache advisory covers CVE-2026-84501 in Apache ZooKeeper.

Open the Apache advisory

Key facts

Vendor rating
Medium, CVSS 5.3
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N · base score 5.3, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: low. Availability impact: none.
Weakness
  • CWE-117 Improper output neutralization for logs
EPSS
0.74% chance of exploitation in the next 30 days (55th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
CISA KEV
Not listed (catalogue checked )
Affected
3.9.0 through 3.9.5; 3.8.0 through 3.8.6.; through 3.8.6
Fixed in
3.8.7, 3.9.6
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationBig Data

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.

Text from the source record.

Affected versions
  • 3.9.0 through 3.9.5
  • 3.8.0 through 3.8.6.
  • through 3.8.6

Official advisory · high-confidence parse· fetched ·verify at source

How to fix CVE-2026-84501

Upgrade to a fixed release named by Apache:

  • 3.8.7
  • 3.9.6

Vendor guidance

  • Users are recommended to upgrade to version 3.8.7 or 3.9.6, which fixes the issue.

CVE-2026-84501 in other vendors' advisories

Compare every advisory for CVE-2026-84501

Apache Software Foundation advisories, September 2026All Apache Software Foundation advisories

Get an email when Apache Data & Analytics (Spark/Hadoop/Gravitino) publishes the next one.

See Apache Data & Analytics (Spark/Hadoop/Gravitino)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Apache Data & Analytics (Spark/Hadoop/Gravitino)