p PatchFirst

CVE-2026-24281

CVE-2026-24281 · Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager

CVSS 5.9 · Medium · EPSS 0.7% · 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.

Hostname verification in Apache ZooKeeper ZKTrustManager falls back to reverse DNS (PTR) when IP SAN validation fails, allowing attackers who control or spoof PTR records to impersonate ZooKeeper servers or clients with a valid certificate for the PTR name. It's important to note that attacker must present a certificate which is trusted by ZKTrustManager which makes the attack vector harder to exploit. Users are recommended to upgrade to version 3.8.6 or 3.9.5, which fixes this issue by introducing a new configuration option to disable reverse DNS lookup in client and quorum protocols.

Published
Updated

Stack: system

Affected products and versions

  • apache zookeeper

    Versions
    • ≥ 3.9.0, ≤ 3.9.4: Affected (maven)
    • ≥ 3.8.0, ≤ 3.8.5: Affected (maven)

    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
    Affected ranges
    • ECOSYSTEM: < 3.9.5-1

    Update to 3.9.5-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 25.10

    Versions
    • 3.9.3-1build1
    • 3.9.3-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 →