CVE-2026-59739Apache ZooKeeper: Information disclosure via SetWatches reconnect replay
Information disclosure via SetWatches reconnect replay in Apache ZooKeeper due to missing ACL check. An attacker can discover ACL-restricted paths by registering exists-watches on non-existent paths, then reconnecting after the paths are created with restricted ACLs. Issue is caused by incomplete fix for CVE-2024-23944 (ZOOKEEPER-4799). The fix added ACL checking to WatchManager.triggerWatch(). However, DataTree.setWatches() — the SetWatches/SetWatches2 reconnect replay handler — still calls watcher.process(event) with null ACL, bypassing the check entirely. It's important to note that only the path is exposed by this vulnerability, not the data of znode, but since znode path can contain sensitive information like user name or login ID, this issue is potentially critical. Users are recommended to upgrade to version 3.9.6, 3.8.7 which fixes the issue.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | zookeeper | Fix pending | UBUNTU-CVE-2026-59739 | |
| Ubuntu 26.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-59739 | |
| Ubuntu 24.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-59739 | |
| Ubuntu 22.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-59739 | |
| Ubuntu 20.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-59739 | |
| Ubuntu 18.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-59739 | |
| Ubuntu 16.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-59739 | |
| Ubuntu 14.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-59739 | |
| Debian 14 | zookeeper | Fixed | 3.9.6-1 | DEBIAN-CVE-2026-59739 |
| Debian 13 | zookeeper | Fix pending | DEBIAN-CVE-2026-59739 | |
| Debian 12 | zookeeper | Fix pending | DEBIAN-CVE-2026-59739 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache ZooKeeper: affected: 3.9.0 to 3.9.5, 3.8.0 to 3.8.6
Vendor advisories:
- https://lists.apache.org/thread/v0lrwsbdxvx6w67p3z7fxf3hzyncq55l (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.