HIGH 8.6

CVE-2026-100252

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

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.zookeeper » zookeeperpreliminary
>= 3.8.0, <= 3.8.7>= 3.9.0, <= 3.9.6
-

Blast radius

1affected artifacts
137affected versions
3,223dependent artifacts (est.)
188,731dependent versions

74% of the dependent artifacts (2,401) still pull an affected version in their latest release.

DepthDependent versions
Direct
18,616
2 hops
50,944
3 hops
32,556
4 hops
50,497
5 hops
27,001
6 hops
9,117

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.