Vulnerability · Published Sep 24, 2025 · Assigned by apache
CVE-2025-58457Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands
Medium 4.3
In plain English
A medium-severity security flaw in Apache ZooKeeper from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | zookeeper | no fix listed | DEBIAN-CVE-2025-58457 |
| Debian:14 | zookeeper | 3.9.4-1 | DEBIAN-CVE-2025-58457 |
| Maven | org.apache.zookeeper:zookeeper | 3.9.4 | GHSA-2hmj-97jw-28jh |
| Ubuntu:22.04:LTS | zookeeper | no fix listed | UBUNTU-CVE-2025-58457 |
| Ubuntu:24.04:LTS | zookeeper | no fix listed | UBUNTU-CVE-2025-58457 |
| Ubuntu:25.10 | zookeeper | no fix listed | UBUNTU-CVE-2025-58457 |
| Ubuntu:26.04:LTS | zookeeper | no fix listed | UBUNTU-CVE-2025-58457 |
| Ubuntu:26.10 | zookeeper | no fix listed | UBUNTU-CVE-2025-58457 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0 – before 3.9.4 |
Weakness: CWE-280 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N