p PatchFirst

CVE-2026-59739

CVE-2026-59739 · Apache ZooKeeper: Information disclosure via SetWatches reconnect replay

CVSS 7.5 · High · EPSS 0.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="zookeeper"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • apache zookeeper

    Versions
    • ≥ 3.9.0, ≤ 3.9.5: Affected (maven)
    • ≥ 3.8.0, ≤ 3.8.6: Affected (semver)

    No fix published

  • zookeeper Debian 12

    Versions
    • 3.8.0-11
    • 3.8.0-11+deb12u1
    • 3.8.0-11+deb12u2
    • 3.9.1-1
    • 3.9.2-1
    • 3.9.2-2
    All versions (13)
    • 3.9.3-1
    • 3.9.3-2
    • 3.9.4-1
    • 3.9.4-2
    • 3.9.5-1
    • 3.9.5-2
    • 3.9.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Debian 13

    Versions
    • 3.9.3-1
    • 3.9.3-1+deb13u1
    • 3.9.3-2
    • 3.9.4-1
    • 3.9.4-2
    • 3.9.5-1
    All versions (8)
    • 3.9.5-2
    • 3.9.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Debian 14

    Versions
    • 3.9.3-1
    • 3.9.3-2
    • 3.9.4-1
    • 3.9.4-2
    • 3.9.5-1
    • 3.9.5-2
    Affected ranges
    • ECOSYSTEM: < 3.9.6-1

    Update to 3.9.6-1

  • zookeeper Ubuntu Pro 14.04 LTS

    Versions
    • 3.4.5+dfsg-1
    • 3.4.5+dfsg-1ubuntu0.1~esm1
    • 3.4.5+dfsg-1ubuntu0.1~esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Ubuntu Pro 16.04 LTS

    Versions
    • 3.4.6-8
    • 3.4.7-1
    • 3.4.8-1
    • 3.4.8-1ubuntu0.1~esm1
    • 3.4.8-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Ubuntu Pro 18.04 LTS

    Versions
    • 3.4.10-2
    • 3.4.10-3
    • 3.4.13-3
    • 3.4.13-3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Ubuntu 20.04 LTS

    Versions
    • 3.4.13-1
    • 3.4.13-3
    • 3.4.13-3build1
    • 3.4.13-4
    • 3.4.13-5
    • 3.4.13-5build1
    All versions (7)
    • 3.4.13-5ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Ubuntu 22.04 LTS

    Versions
    • 3.4.13-5ubuntu4
    • 3.4.13-6ubuntu2
    • 3.4.13-6ubuntu3
    • 3.4.13-6ubuntu4
    • 3.4.13-6ubuntu4.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Ubuntu 24.04 LTS

    Versions
    • 3.8.0-11
    • 3.9.1-1
    • 3.9.1-1build1
    • 3.9.1-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Ubuntu 26.10

    Versions
    • 3.9.5-1
    • 3.9.5-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zookeeper Ubuntu 26.04 LTS

    Versions
    • 3.9.3-1build2
    • 3.9.3-1build3
    • 3.9.4-1
    • 3.9.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →