Security mailing lists by PureSourceCode

CVE-2026-84501

MEDIUM 5.3CVSS 3.1

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.

Published
16 Sep 2026
Last modified
18 Sep 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-117
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache zookeeper
cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*
>= 3.8.0, < 3.8.7 3.8.7
NVD apache zookeeper
cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.6 3.9.6

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.