Skip to main content
← Vulnerabilities

Apache ZooKeeper: SASL authorization bypass on the client port through a client-supplied authorization ID

Affects Apache ZooKeeper 3.9.0 through 3.9.6 and 3.8.0 through 3.8.7 with SASL enabled on the client port. Fixed in 3.8.8 and 3.9.7.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

8.6HighCNA
Exploited
No known exploitation
Fix
Fixed in 3.8.8, 3.9.7
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. SASL authentication is enabled on the client port Attacker's principal is not covered by the zookeeper.security.auth_to_local rules (with default rules, any Kerberos principal from a realm other than the server's default realm, such as a cross-realm trusted realm) Affected versions: Apache ZooKeeper 3.9.0 through 3.9.6 and 3.8.0 through 3.8.7

28Pcve.now Index 28 of 100 · methodology v3 · provisional
  • Exploitation0/40No signal
  • Exposure8/25Specific setups only, reachable over the network
  • Reach10/20Affects Maven packages
  • Severity9.6/10CVSS 8.6, total technical impact per CISA
  • No patch0/5No signal

What would change the score

  • Would score about 78 if added to CISA KEV
  • Would score about 73 if CISA's SSVC rates exploitation active
  • Would score about 35 if CISA's SSVC rates it automatable

CVE-2026-100252 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.6 (high) and affects Apache ZooKeeper; fixed in 3.8.8 and 3.9.7.

Published
Last modified
Published
Not listed in CISA KEV
28/100 · provisional
Specific setups only
Fix
Fixed in 3.8.8, 3.9.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Apache ZooKeeper, when SASL authentication is enabled on the client port, lets a remote attacker who has a valid low-privilege login claim any SASL identity, including superuser access to the whole data tree if they request a configured superuser identity. This happens because the server accepts the client-requested identity without checking it against the authenticated principal, which is possible for principals not covered by the auth_to_local rules, such as Kerberos principals from other realms under the default rules.

Read the original description

Improper Authorization vulnerability in Apache ZooKeeper. When SASL authentication is enabled on the client port, the server's SASL callback handler grants every authorization identity (authzid) that a client requests, without checking it against the principal the client authenticated as. The server then tries to replace the requested identity with a canonical form of the authenticated principal, derived from the zookeeper.security.auth_to_local rules. If no rule applies to the principal, canonicalization fails and the error is only logged. The client-requested authzid then becomes the session's SASL identity for all ACL checks. An authenticated client whose principal is not covered by the auth_to_local rules can therefore claim any SASL identity. With the default rules, this includes any Kerberos principal from a realm other than the server's default realm, such as a principal from a cross-realm trusted realm. The client then gets the permissions granted to that identity in sasl ACLs. If the requested identity matches a configured zookeeper.superUser, it gets superuser access to the whole data tree. Users are recommended to upgrade to version 3.8.8 or 3.9.7, which fixes the issue.

Impact

  • Widely used

    175 packages depend on org.apache.zookeeper:zookeeper.Source: deps.dev

What to do

  • Check whether your setup matches what the bug needs.

    SASL authentication is enabled on the client port Attacker's principal is not covered by the zookeeper.security.auth_to_local rules (with default rules, any Kerberos principal from a realm other than the server's default realm, such as a cross-realm trusted realm) Affected versions: Apache ZooKeeper 3.9.0 through 3.9.6 and 3.8.0 through 3.8.7
  • Upgrade to a fixed version: 3.8.8, 3.9.7.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • org.apache.zookeeper:zookeeperMaven

    From 3.9.0 · through 3.9.6; From 3.8.0 · through 3.8.7

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-100252

Is CVE-2026-100252 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

An authenticated client can claim any SASL identity it names when its own principal is not covered by the zookeeper.security.auth_to_local rules. That identity receives the permissions granted in sasl ACLs, and if it matches a configured zookeeper.superUser, it gets superuser access to the whole data tree.Source: openwall.com

Which versions are affected by CVE-2026-100252?

org.apache.zookeeper:zookeeper (Maven): from 3.9.0 through 3.9.6; from 3.8.0 through 3.8.7.Source: cve.now feed data

Am I affected, and how do I check?

Apache ZooKeeper 3.9.0 through 3.9.6 and 3.8.0 through 3.8.7 are affected, but only when SASL authentication is enabled on the client port and the client's principal is not covered by auth_to_local rules. With the default rules, this includes Kerberos principals from a realm other than the server's default realm. Check the ZooKeeper version and the SASL and auth_to_local settings in the server configuration.Source: openwall.com

How do I fix CVE-2026-100252?

Upgrade to Apache ZooKeeper 3.8.8 or 3.9.7, which fix the issue.Source: openwall.com