CVE-2025-58457
Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands
Also known as BIT-zookeeper-2025-58457, GHSA-2hmj-97jw-28jh
Mitigation
- Upgrade org.apache.zookeeper:zookeeper to 3.9.4 or later.
Who should check
- Projects that depend on Maven package org.apache.zookeeper:zookeeper (>= 3.9.0, < 3.9.4)
- Anyone running Apache Software Foundation Apache ZooKeeper >= 3.9.0, < 3.9.4
Vulnerability facts
- Affected
- org.apache.zookeeper:zookeeper >= 3.9.0, < 3.9.4
- Fixed in
- 3.9.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.61% chance of exploitation in 30 days (percentile 44, 2026-11-26)
- CWE
- CWE-280
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.zookeeper:zookeeper | >= 3.9.0, < 3.9.4 | 3.9.4 | osv |
| Apache Software Foundation Apache ZooKeeper | >= 3.9.0, < 3.9.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-58457. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-58457.md Affected: org.apache.zookeeper:zookeeper >= 3.9.0, < 3.9.4 Fixed in: 3.9.4 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.
References
Vendor advisories
FAQ
Is CVE-2025-58457 being exploited?
There is no confirmed exploitation: CVE-2025-58457 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-58457?
Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-58457?
org.apache.zookeeper:zookeeper >= 3.9.0, < 3.9.4.
Is there a fix for CVE-2025-58457?
Yes. Fixed in 3.9.4. Upgrade org.apache.zookeeper:zookeeper to 3.9.4 or later.
How do I check if I'm affected by CVE-2025-58457?
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.