Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands
Improper permission checks in the AdminServer allow an authenticated client with insufficient privileges to invoke the snapshot and restore commands. The intended requirement is authentication and authorization on the root path (/) with ALL permission for these operations; however, affected versions permit invocation without that level of authorization. The primary risk is disclosure of cluster state via snapshots to a lesser-privileged client.
- Affected:
org.apache.zookeeper:zookeeper3.9.0 through 3.9.3. - Fixed: 3.9.4 (ZOOKEEPER-4964 “check permissions individually during admin server auth”).
- Mitigations:
- Disable both commands (
admin.snapshot.enabled,admin.restore.enabled). - Disable AdminServer (
admin.enableServer). - Ensure the root ACL is not open; note that ZooKeeper ACLs are not recursive.
- Upgrade to 3.9.4.
- Disable both commands (
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.zookeeper:zookeeper | >= 3.9.0, < 3.9.4 | 3.9.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-58457
- https://github.com/apache/zookeeper
- https://lists.apache.org/thread/r5yol0kkhx2fzw22pxk1ozwm3oc6yxrx
- https://zookeeper.apache.org/doc/current/zookeeperSnapshotAndRestore.html
- https://zookeeper.apache.org/doc/r3.9.4/releasenotes.html
- https://zookeeper.apache.org/security.html#CVE-2025-58457
- http://github.com/apache/zookeeper/commit/71e173fcbcc9deb784081cf867bd045df3c32635
- http://www.openwall.com/lists/oss-security/2025/09/24/10
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Weakness (CWE)
CWE-280- Platform
- Java / Kotlin (Maven)
- Package
org.apache.zookeeper:zookeeper- Disclosed
- 24.09.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2hmj-97jw-28jh - CC BY 4.0
Vulnerability history: org.apache.zookeeper:zookeeper
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 9
- First → latest
- 05.2019 03.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 5
- Medium 3
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 0
- 2022: 2
- 2023: 1
- 2024: 2
- 2025: 1
- 2026: 2
-
Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.