Skip to main content

Improper Output Neutralization for Logs

CVE-2026-84439

Severity Medium
Score 5.3/10

Summary

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-separatedkey=valueformat, the injected tabs are parsed as legitimate field separators, allowing the attacker to spoof audit results (e.g., injectingresult=success), forge operation types, and corrupt forensic evidence. A log injection vulnerability in Apache ZooKeeper allows a client that can callsetACLto inject forged key-value fields intozookeeper_audit.log. When audit logging is enabled, the server serializes attacker-controlled digest ACL ids into theacl=audit field without escaping tab characters. Because audit events are emitted as tab-separatedkey=valuerecords, a crafted ACL id can make one successfulsetAclevent appear to contain forged fields such asoperation=deleteandznode=/forged. This undermines the integrity of downstream audit parsing, alerting, and incident response. This issue affects Apache ZooKeeper versions 3.9.0 through 3.9.5 and 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.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • NONE

CWE-117 - Improper Output Neutralization for Logs

The software does not neutralize or incorrectly neutralizes output that is written to logs.

References

Advisory Timeline

  • Published