CVE-2025-58457 Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
Improper permission check in ZooKeeper AdminServer lets authorized clients to run snapshot and restore command with insufficient permissions.
This issue affects Apache ZooKeeper: from 3.9.0 before 3.9.4.
Users are recommended to upgrade to version 3.9.4, which fixes the issue.
The issue can be mitigated by disabling both commands (via admin.snapshot.enabled and admin.restore.enabled), disabling the whole AdminServer interface (via admin.enableServer), or ensuring that the root ACL does not provide open permissions. (Note that ZooKeeper ACLs are not recursive, so this does not impact operations on child nodes besides notifications from recursive watches.)
Upgrade path
8 packages: 3 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/zookeeper(Debian 13) | = 3.9.3-1; = 3.9.3-1+deb13u1; = 3.9.3-2; = 3.9.4-1 +4 more | No fix listed | No fix yet |
| ubuntu/zookeeper(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/zookeeper(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/zookeeper(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/zookeeper(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| apache zookeeper | >= 3.9.0, < 3.9.4 | 3.9.4 | Fixed |
| debian/zookeeper(Debian 14) | < 3.9.4-1; = 3.9.3-1; = 3.9.3-2 | 3.9.4-1 | Fixed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.9.0; = 3.9.1; = 3.9.2; = 3.9.3 +1 more | 3.9.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.zookeeper/zookeeper(Maven) | >= 3.9.0, < 3.9.4 | 3.9.4 |
| org.apache.zookeeper/zookeeper(Maven) | = 3.9.0 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.9.1 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.9.2 | No fix listed |
| org.apache.zookeeper/zookeeper(Maven) | = 3.9.3 | No fix listed |
| debian/zookeeper(Debian:13) | All versions | No fix listed |
| debian/zookeeper(Debian:13) | = 3.9.3-1 | No fix listed |
| debian/zookeeper(Debian:13) | = 3.9.3-1+deb13u1 | No fix listed |
| debian/zookeeper(Debian:13) | = 3.9.3-2 | No fix listed |
| debian/zookeeper(Debian:13) | = 3.9.4-1 | No fix listed |
| debian/zookeeper(Debian:13) | = 3.9.4-2 | No fix listed |
| debian/zookeeper(Debian:13) | = 3.9.5-1 | No fix listed |
| debian/zookeeper(Debian:13) | = 3.9.5-2 | No fix listed |
| debian/zookeeper(Debian:14) | < 3.9.4-1 | 3.9.4-1 |
| debian/zookeeper(Debian:14) | = 3.9.3-1 | No fix listed |
| debian/zookeeper(Debian:14) | = 3.9.3-2 | No fix listed |
| ubuntu/zookeeper(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/zookeeper(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/zookeeper(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/zookeeper(Ubuntu:26.10) | All versions | No fix listed |
| apache zookeeper | >= 3.9.0, < 3.9.4 | 3.9.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- lists.apache.org mailing-list vendor-advisory
- zookeeper.apache.org
- zookeeper.apache.org
- zookeeper.apache.org
- github.com patch
- www.openwall.com
- Debian Security Tracker CVE-2025-58457 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking