Apache ZooKeeper: Improper Output Neutralization for Logs (CVE-2026-84501)
Published Sources: BSI
What is affected, what to do
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().
Update zstd-jni to version 1.5.7-14, zookeeper to version 3.8.7.
- Affected
- Apache ZooKeeper
lte 3.9.0..3.9.5 - Apache ZooKeeper
lte 3.8.0..3.8.6
- Apache ZooKeeper
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
5.3
XIEM Effective CVSS
Highest available CVSS rating from NVD and vendor data.
Source: Vendor (CNA), CVSS v3
5.3
CVSS v3
Severity Medium on the scale from 0 to 10.
Source: BSI
0.7 %
EPSS score
Low — model estimates < 1% exploitation likelihood.
Source: FIRST EPSS, percentile 55.5
Show all metrics
- Severity
- Medium
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 86.27 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 5.3 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 5.3
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 0.7 %
- Low — model estimates < 1% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 55.5
- High — this CVE ranks above the median of all CVEs scored today (rank ≥ 36%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
- CISA assessment (SSVC)
- Exploitation: none known · automatable · Technical impact: partial
- Source: CISA Vulnrichment, as of 16 September 2026
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-117
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: BSI WID Portal
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| Apache Software Foundation | Apache ZooKeeper |
|
|
| luben | zstd-jni |
|
|
| Spring | Micrometer |
|
|
| apache | zookeeper |
|
|
| IBM | SPSS |
|
|
| Oracle | Construction and Engineering |
|
|
| Red Hat | JBoss Enterprise Application Platform |
|
|
Vendors and products
Affected operating systems
| Linux | Linux | — | |
| Linux | UNIX | — | |
| Windows | Windows | — |
Weakness classes (CWE)
CWE-117Improper Output Neutralization for Logs
Base
The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.
Entry at MITRE CWE-117
References & sources
- access.redhat.comRed Hat Security Advisory RHSA-2026:100682 vom 2026-11-19BSI
- github.comGitHub Issue #405Issue tracking, euvd
- github.comluben/zstd-jniProduct, euvd
- github.comluben/zstd-jni/commit/b74ab242d640c40897e62aab4c744ddfad1f915fPatch, euvd
- github.comluben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zs…Technical description, euvd
- github.comzstd-jni v1.5.7-14 Release NotesRelease notes, euvd
- github.comluben/zstd-jni/blob/v1.2.0/src/main/java/com/github/luben/zstd/…Technical description, euvd
- vulncheck.comVulnCheck Advisory: zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictDecompressThird-party advisory, euvd
- github.comGitHub Security Advisory (GHSA-2jw3-mg7f-vw4q)Vendor advisory, euvd
- github.comFix commit: closed-state guards on BaseZstdBufferDecompressingStreamNoFinalizerPatch, euvd
- github.comFix commit: closed-state guards on the input and output stream settersPatch, euvd
- github.comSetters without the closed-state guard that readInternal already has, at v1.5.7-13Technical description, euvd
- github.comfinal stream handle retained after close at v1.5.7-13Technical description, euvd
- github.comCommit that made setDict write through the retained native stream handle (first released in 1.3.8-4)Technical description, Patch, euvd
- vulncheck.comVulnCheck Advisory: zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()Third-party advisory, euvd
- github.comGitHub Security Advisory (GHSA-rm53-6wf5-f34m)Vendor advisory, euvd
- github.comFix commit: reject a negative source position and sizePatch, euvd
- github.comUpper-bound-only bounds check at v1.5.7-13Technical description, euvd
- github.comNative routine that offsets the critical array pointer without re-validatingTechnical description, euvd
- vulncheck.comVulnCheck Advisory: zstd-jni 1.5.5-6 through 1.5.7-13 Out-of-Bounds Read via Negative OffsetThird-party advisory, euvd
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Initial analysis by NVDNVD
Newly listed as affected:- Apache Software Foundation Apache ZooKeeper (3.8.0 – before 3.8.7; 3.9.0 – before 3.9.6)
Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After Product configuration added —OR *cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (excluding) 3.8.7 *cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.9.6Reference type added —Apache Software Foundation: https://lists.apache.org/thread/ohby1g6zjt72p0w79rhbr41nczzvr33y Types: Mailing List, Vendor AdvisoryReference type added —CVE: http://www.openwall.com/lists/oss-security/2026/09/15/7 Types: Mailing ListSource identifier: nvd@nist.gov
Record modifiedCISA ADP
CVSS V3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CISA assessment (SSVC): exploitation: none known, automatable: yes
Show 2 original changes
Individual changes of this event as published by NVD Type Action Before After CVSS added —AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NSSVC assessment added —{"id":"CVE-2026-84501","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"version":"2.0.3","timestamp":"2026-09-16T19:42:27.138755Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Record modifiedCVE Program
New references:Show the original change
Individual changes of this event as published by NVD Type Action Before After Reference added —http://www.openwall.com/lists/oss-security/2026/09/15/7Source identifier: af854a3a-2127-422b-91ae-364da2661108
ReceivedApache
Weakness type: CWE-117
Description added or changed
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Description added —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.Weakness type (CWE) added —CWE-117Affected versions (publisher) added —New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/84xxx/CVE-2026-84501.json">CVE-2026-84501</a>Reference added —https://lists.apache.org/thread/ohby1g6zjt72p0w79rhbr41nczzvr33ySource identifier: security@apache.org
Linked CVEs
| High | CVE-2026-90852 | luben zstd-jni Dictionary Sharing ZstdCompressCtx.java ZstdCompressCtx.loadDict use after free | 7.3 | — |
| High | CVE-2026-90560 | zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictDecompress | 8.2 | — |
| High | CVE-2026-89046 | zstd-jni 1.5.5-6 through 1.5.7-13 Out-of-Bounds Read via Negative Offset | 8.2 | — |
| High | CVE-2026-87877 | zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close() | 7.7 | — |
| High | CVE-2026-87825 | zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries | 7.7 | — |
| High | CVE-2026-87824 | zstd-jni 1.3.3-1 through 1.5.7-13 Out-of-Bounds Read via Zstd.trainFromBufferDirect | 7.5 | — |
| High | CVE-2026-87795 | zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress | 8.2 | — |
| Medium | CVE-2026-84501 | Apache ZooKeeper: Operational log forgery via newline injection in EnsembleAuthenticationProvider | 5.3 | — |
| High | CVE-2026-59969 | Apache ZooKeeper: Improper validation of certificate with host mismatch in FIPS mode | 7.5 | — |
| Medium | CVE-2026-59296 | Micrometer StatsD and Logging meter registries line-protocol and log injection vulnerability | 5.9 | — |
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-84501"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-84501.svg?lang=en" alt="CVE-2026-84501 – NEOSEC Intel" height="20"></a>