---
id: "CVE-2026-115448"
kind: "vulnerability"
aliases: ["CVE-2026-115448"]
title: "Apache ZooKeeper: deep znode trees crash snapshots and block server restart"
severity: "high"
cvss: 8.7
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["hadoop", "hbase", "kafka", "package", "self-hosted", "zookeeper"]
not_affected_if: ["auth-required", "patched-version", "restricted-root-acl"]
published_at: "2026-11-04T11:17:14+00:00"
first_seen_at: "2026-11-04T11:26:45+00:00"
updated_at: "2026-11-04T11:27:33+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115448", "first_seen_at": "2026-11-04T11:26:45+00:00"}]
---

# Apache ZooKeeper: deep znode trees crash snapshots and block server restart

ZooKeeper's snapshot code recurses once per znode level with no depth limit, so a client that can create nested znodes can build a tree that exhausts the JVM stack. The same tree is rebuilt from the transaction log on restart, so the server keeps failing and can lose data during recovery.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the ZooKeeper version with `zkServer.sh version` and compare it to the affected ranges 3.8.0 through 3.8.7 and 3.9.0 through 3.9.6.
- Check whether the root ACL still allows open znode creation (the default), for example with `zkCli.sh getAcl /`.
- Identify which clients can create znodes and whether authentication is required.

## Fix

- Apache ZooKeeper `3.8.8` for the 3.8 line
- Apache ZooKeeper `3.9.7` for the 3.9 line
- Workaround stated by the source: restrict znode creation with ACLs and authentication instead of the default open root ACL

## Timeline

- 2026-11-04T11:26:45+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-115448

## From the sources

Uncontrolled recursion in Apache ZooKeeper. The server serializes its data tree to a snapshot by recursing one stack frame per znode level, with no depth bound. A client permitted to create znodes (the default root ACL is open) can build a chain of nested znodes deep enough that taking a snapshot exhausts the JVM stack and kills the snapshot thread; sizes stay within jute.maxbuffer, so existing limits do not prevent it. This is a denial of service that becomes persistent: on restart the server rebuilds the deep tree from its transaction log and fails again while taking the startup snapshot, so it does not return to service, and recovery can entail data loss. The same log affects a leader and its followers, so it can spread across an ensemble.

This issue affects Apache ZooKeeper 3.8.0 through 3.8.7 and 3.9.0 through 3.9.6. Users are recommended to upgrade to 3.8.8 or 3.9.7, which fix the issue. As a workaround, use ACLs and authentication to restrict znode creation rather than relying on the default open root ACL.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
