CVE-2026-84439: Apache ZooKeeper: Audit log injection via unsanitized output from multiple sources

Published Sep 15, 2026
·
Updated

When audit logging is enabled (zookeeper.audit.enable=true), an unauthenticated attacker can inject arbitrary fields into Apache ZooKeeper's audit log by sending a digest authentication request with tab characters (\t) embedded in the username. Because the audit log uses tab-separated key=value format, the injected tabs are parsed as legitimate field separators, allowing the attacker to spoof audit results (e.g., injecting result=success), forge operation types, and corrupt forensic evidence.

A log injection vulnerability in Apache ZooKeeper allows a client that can call setACL to inject forged key-value fields into zookeeperaudit.log. When audit logging is enabled, the server serializes attacker-controlled digest ACL ids into the acl= audit field without escaping tab characters. Because audit events are emitted as tab-separated key=value records, a crafted ACL id can make one successful setAcl event appear to contain forged fields such as operation=delete and znode=/forged. This undermines the integrity of downstream audit parsing, alerting, and incident response.

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.9.6 or 3.8.7, which fixes the issue.

Affected Software

3 affected components
Apache Zookeeper>=3.9.0<=3.9.5, >=3.8.0<=3.8.6
Apache Zookeeper>=3.8.0<3.8.7
Apache Zookeeper>=3.9.0<3.9.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache ZooKeeper to a version that resolves this vulnerability.

    Fixed in 3.9.6
  2. Upgrade

    Upgrade Apache ZooKeeper to a version that resolves this vulnerability.

    Fixed in 3.8.7
  3. Configuration

    Disable audit logging by setting zookeeper.audit.enable=false to prevent forged fields from being written to zookeeper_audit.log.

    Apache ZooKeeper zookeeper.audit.enable = false

Event History

Sep 16, 2026
CVE Published
via MITRE·09:27 AM
Data Sourced
via MITRE·09:27 AM
DescriptionWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are affected?

Apache ZooKeeper versions 3.9.0 through 3.9.5 and 3.8.0 through 3.8.6 are affected. The issue applies when audit logging is enabled with zookeeper.audit.enable=true.

2

What access does an attacker need?

An attacker does not need to authenticate to exploit the digest-authentication request path. A client able to call setACL can also inject forged fields through attacker-controlled digest ACL IDs.

3

What is the practical impact on audit operations?

Crafted tab characters can create additional apparent key=value fields in tab-separated audit records, including forged result, operation, or znode values. This can corrupt downstream parsing, alerting, and incident-response evidence rather than altering the underlying logged operation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203