Description
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 zookeeper_audit.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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0 – ≤ 3.9.5, 3.8.0 – ≤ 3.8.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | zookeeper | 3.9.6-1 | — |
| Debian 13 | zookeeper | No fix yet | — |
| Debian 12 | zookeeper | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | zookeeper | No fix yet | — |
| Ubuntu 26.04 LTS | zookeeper | No fix yet | — |
| Ubuntu 24.04 LTS | zookeeper | No fix yet | — |
| Ubuntu 22.04 LTS | zookeeper | No fix yet | — |
| Ubuntu 20.04 LTS | zookeeper | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | zookeeper | No fix yet | — |
| Ubuntu Pro 16.04 LTS | zookeeper | No fix yet | — |
| Ubuntu Pro 14.04 LTS | zookeeper | No fix yet | — |
Advisories 1
- WID-SEC-2026-3908 IBM SPSS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
References
- https://lists.apache.org/thread/b7qnjvqjh393l0j07tmnb5ggg40sx3m6 vendor-advisory