Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.zookeeper/zookeeper
  4. ›
  5. CVE-2025-58457

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

September 24, 2025

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

References

  • github.com/advisories/GHSA-2hmj-97jw-28jh
  • github.com/apache/zookeeper
  • lists.apache.org/thread/r5yol0kkhx2fzw22pxk1ozwm3oc6yxrx
  • nvd.nist.gov/vuln/detail/CVE-2025-58457
  • zookeeper.apache.org/security.html

Code Behaviors & Features

Detect and mitigate CVE-2025-58457 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.9.0 before 3.9.4

Fixed versions

  • 3.9.4

Solution

Upgrade to version 3.9.4 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-280: Improper Handling of Insufficient Permissions or Privileges

Source file

maven/org.apache.zookeeper/zookeeper/CVE-2025-58457.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 26 Sep 2025 12:19:57 +0000.