{"id":"CVE-2025-58457","aliases":["CVE-2025-58457","GHSA-2hmj-97jw-28jh","BIT-ZOOKEEPER-2025-58457"],"related":[],"kind":"vulnerability","state":"published","title":"Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands","summary":"Improper permission check in ZooKeeper AdminServer lets authorized clients to run snapshot and restore command with insufficient permissions.\n\nThis issue affects Apache ZooKeeper: from 3.9.0 before 3.9.4.\n\nUsers are recommended to upgrade to version 3.9.4, which fixes the issue.\n\nThe 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.)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper permission check in ZooKeeper AdminServer lets authorized clients to run snapshot and restore command with insufficient permissions.\n\nThis issue affects Apache ZooKeeper: from 3.9.0 before 3.9.4.\n\nUsers are recommended to upgrade to version 3.9.4, which fixes the issue.\n\nThe 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.)","source":"cvelist"},{"lang":"en","text":"Improper permission checks in the AdminServer allow an authenticated client with insufficient privileges to invoke the `snapshot` and `restore` commands. The intended requirement is authentication and authorization on the root path (`/`) with **ALL** permission for these operations; however, affected versions permit invocation without that level of authorization. The primary risk is disclosure of cluster state via snapshots to a lesser-privileged client.\n\n*   **Affected:** `org.apache.zookeeper:zookeeper` 3.9.0 through 3.9.3.\n*   **Fixed:** 3.9.4 (ZOOKEEPER-4964 “check permissions individually during admin server auth”).\n*   **Mitigations:**\n    *   Disable both commands (`admin.snapshot.enabled`, `admin.restore.enabled`).\n    *   Disable AdminServer (`admin.enableServer`).\n    *   Ensure the root ACL is not open; note that ZooKeeper ACLs are not recursive.\n    *   Upgrade to 3.9.4.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una comprobación de permisos incorrecta en el AdminServer de ZooKeeper permite a clientes autorizados ejecutar el comando de instantánea y restauración con permisos insuficientes.\n\nEste problema afecta a Apache ZooKeeper: desde 3.9.0 hasta antes de 3.9.4.\n\nSe recomienda a los usuarios actualizar a la versión 3.9.4, que corrige el problema.\n\nEl problema puede mitigarse deshabilitando ambos comandos (a través de admin.snapshot.enabled y admin.restore.enabled), deshabilitando toda la interfaz del AdminServer (a través de admin.enableServer), o asegurando que la ACL raíz no proporcione permisos abiertos. (Nótese que las ACL de ZooKeeper no son recursivas, por lo que esto no impacta las operaciones en nodos hijos, además de las notificaciones de los observadores recursivos.)","source":"nvd"}],"published":"2025-09-24T09:29:35.824Z","modified":"2026-09-10T03:50:27.739Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-280"],"affected":[{"ranges":[{"type":"maven","introduced":"3.9.0","fixed":"3.9.4","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache ZooKeeper","package":"org.apache.zookeeper:zookeeper","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.9.0","status":"affected","fixed":"3.9.4"}],"ecosystem":"Maven","package":"org.apache.zookeeper:zookeeper","purl":"pkg:maven/org.apache.zookeeper/zookeeper","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.9.0","fixed":"3.9.4"}],"vendor":"apache","product":"zookeeper","cpe":"cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.4"}],"ecosystem":"Bitnami","package":"zookeeper","purl":"pkg:bitnami/zookeeper","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/r5yol0kkhx2fzw22pxk1ozwm3oc6yxrx","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/24/10","tags":["web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58457","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/zookeeper","tags":["package"],"sources":["ghsa"]},{"url":"https://zookeeper.apache.org/doc/current/zookeeperSnapshotAndRestore.html","tags":["web"],"sources":["ghsa"]},{"url":"https://zookeeper.apache.org/doc/r3.9.4/releasenotes.html","tags":["web"],"sources":["ghsa"]},{"url":"https://zookeeper.apache.org/security.html#CVE-2025-58457","tags":["web"],"sources":["ghsa"]},{"url":"http://github.com/apache/zookeeper/commit/71e173fcbcc9deb784081cf867bd045df3c32635","tags":["web"],"sources":["ghsa"]}],"credits":["Damien Diederen <ddiederen@apache.org>"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-24T13:47:31.663Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58457","url":"https://www.cve.org/CVERecord?id=CVE-2025-58457","licence":"CVE Terms of Use","modified":"2025-11-04T21:13:42.037Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2hmj-97jw-28jh","url":"https://github.com/advisories/GHSA-2hmj-97jw-28jh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:27.739Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58457","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58457","licence":"Public domain","modified":"2026-06-17T09:44:29.593Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ZOOKEEPER-2025-58457","url":"https://osv.dev/vulnerability/BIT-ZOOKEEPER-2025-58457","licence":"Apache-2.0","modified":"2026-09-08T08:46:16.967Z"}],"updatedAt":"2026-11-25T22:59:05.069Z","epss":{"score":0.00338,"percentile":0.29171,"date":"2026-12-01T12:00:22.000Z"}}