CVE-2026-100252Apache ZooKeeper: SASL authorization bypass on the client port through a client-supplied…
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.
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-100252 | |
| Ubuntu 26.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-100252 | |
| Ubuntu 24.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-100252 | |
| Ubuntu 22.04 | zookeeper | Under investigation | UBUNTU-CVE-2026-100252 | |
| Ubuntu 20.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-100252 | |
| Ubuntu 18.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-100252 | |
| Ubuntu 16.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-100252 | |
| Ubuntu 14.04 | zookeeper | Fix pending | UBUNTU-CVE-2026-100252 | |
| Debian 14 | zookeeper | Fixed | 3.9.7-1 | DEBIAN-CVE-2026-100252 |
| Debian 13 | zookeeper | Fix pending | DEBIAN-CVE-2026-100252 | |
| Debian 12 | zookeeper | Fix pending | DEBIAN-CVE-2026-100252 |
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.6, 3.8.0 to 3.8.7
Vendor advisories:
- https://lists.apache.org/thread.html/81rdyqlmlp3dtkkqgp8t5080g3b9r2pj (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.