The deleteContainer opcode (0x14) in ZooKeeper 3.9.0 through 3.9.5 allows unauthenticated remote attackers to delete empty persistent znodes by bypassing session and ACL checks entirely. This is not a typical implementation bug — it's an architectural failure where an opcode designed for internal trusted calls was placed on the network protocol surface without any authorization enforcement.
The regular delete path (OpCode 2) explicitly validates both the session and DELETE ACL permissions. The deleteContainer path performed none of these checks, operating under the implicit assumption that it would only ever be invoked by trusted ZooKeeper internals or admin tooling. When this opcode became reachable over the wire to any client connecting to port 2181, that trust model collapsed.
Verify your deployment version immediately. Affected versions are 3.9.0 through 3.9.5 and 3.8.0 through 3.8.6. Patch to 3.9.6 or 3.8.7. After patching, confirm the fix by attempting to delete an empty container znode from an unauthenticated session — it should fail with an authorization error rather than succeeding.
The deeper concern: this vulnerability shipped simultaneously with the container node feature in 3.9.0. There was no safe window. The developers operating with no threat model for the network protocol layer of this new opcode, and the development workflow created no friction to catch this — no tooling distinction between internal and external opcodes, no code path tagging, no CI gate questioning whether a new opcode has different authorization semantics than audited network handlers.
Probe for similar patterns. ZooKeeper has numerous opcodes, and the 'internal-only' designation in the advisory admits that other network-reachable opcodes may have similar implicit trust assumptions. The patched versions presumably add session and ACL verification mirroring the regular delete path, but the broader question is whether other opcodes bypass authorization under the assumption they won't be externally called. Audit your opcode registry against current threat models, not the ones that applied when ZooKeeper was an internal cluster coordination tool. Prior CVEs in ZooKeeper (including CVE-2019-0201) demonstrate this is a recurring institutional pattern — each authorization bypass has been treated as an isolated patch rather than evidence of systemic architectural debt. This CVE is the latest iteration of that pattern.