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.
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
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.
- 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
- NetApp: NTAP-20261118-0008
- Red Hat: CVE-2026-84501, medium severity, fixed in 3.8.7, 3.9.6, RHSA-2026:95221
More Apache Software Foundation advisories
CVE-2026-100302Nov 4, 2026Apache ZooKeeper denial of serviceCVE-2026-115448Nov 4, 2026Apache ZooKeeper: Unbounded recursion in snapshot serializationCVE-2026-100300Nov 4, 2026Improper handling of exceptional conditions in the quota subsystem of Apache ZooKeeperCVE-2026-100252Nov 4, 2026Improper Authorization vulnerability in Apache ZooKeeperCVE-2026-100235Nov 4, 2026Apache ZooKeeper: ACL enforcement bypassCVE-2026-79993Sep 16, 2026Apache ZooKeeper: The `deleteContainer` opcode (0x14/20) is processed without verifying
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.