# CVE-2023-44981: Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.03% (percentile 82, 2026-11-28)
- **CWE:** CWE-639
- **Aliases:** BIT-zookeeper-2023-44981, GHSA-7286-pgfv-vxvh
- **Published:** 2023-10-11T11:55:47.925Z
- **Modified:** 2026-09-10T03:49:58.702Z

## Who should check

- Projects that depend on Maven package org.apache.zookeeper:zookeeper (\< 3.7.2)
- Anyone running Apache Software Foundation Apache ZooKeeper \>= 3.9.0, \< 3.9.1; \>= 3.8.0, \<= 3.8.2; \>= 3.7.0, \<= 3.7.1; \< 3.7.0

## Description

Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. If SASL Quorum Peer authentication is enabled in ZooKeeper (quorum.auth.enableSasl=true), the authorization is done by verifying that the instance part in SASL authentication ID is listed in zoo.cfg server list. The instance part in SASL auth ID is optional and if it's missing, like 'eve@EXAMPLE.COM', the authorization check will be skipped. As a result an arbitrary endpoint could join the cluster and begin propagating counterfeit changes to the leader, essentially giving it complete read-write access to the data tree. Quorum Peer authentication is not enabled by default.

Users are recommended to upgrade to version 3.9.1, 3.8.3, 3.7.2, which fixes the issue.

Alternately ensure the ensemble election/quorum communication is protected by a firewall as this will mitigate the issue.

See the documentation for more details on correct cluster administration.

## Affected and fixed versions

- Maven `org.apache.zookeeper:zookeeper`: affected \< 3.7.2; fixed 3.7.2, 3.8.3, 3.9.1 (osv)
- Apache Software Foundation Apache ZooKeeper: \>= 3.9.0, \< 3.9.1; \>= 3.8.0, \<= 3.8.2; \>= 3.7.0, \<= 3.7.1; \< 3.7.0 (cvelist)

## Mitigation

- Upgrade org.apache.zookeeper:zookeeper to one of 3.7.2, 3.8.3, 3.9.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-44981. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-44981.md
Affected: org.apache.zookeeper:zookeeper < 3.7.2
Fixed in: 3.7.2, 3.8.3, 3.9.1

Steps:
1. Search this machine and project for org.apache.zookeeper:zookeeper (Maven), Apache Software Foundation Apache ZooKeeper: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-44981 being exploited?

There is no confirmed exploitation: CVE-2023-44981 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.03% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-44981?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-44981?

org.apache.zookeeper:zookeeper \< 3.7.2.

### Is there a fix for CVE-2023-44981?

Yes. Fixed in 3.7.2, 3.8.3, 3.9.1. Upgrade org.apache.zookeeper:zookeeper to one of 3.7.2, 3.8.3, 3.9.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-44981?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-44981>
- other: <http://www.openwall.com/lists/oss-security/2023/10/11/4>
- other: <https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html>
- other: <https://www.debian.org/security/2023/dsa-5544>
- other: <https://security.netapp.com/advisory/ntap-20240621-0007/>
- other: <https://github.com/apache/zookeeper>
- other: <https://security.netapp.com/advisory/ntap-20240621-0007>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-44981>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7286-pgfv-vxvh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-44981> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-44981>
