CVE-2026-82068: Cpp Write Command Stmtids Missing Uniqueness Validation

A client-supplied stmtIds array is accepted here after only a length check (and stmtId/stmtIds mutual exclusion); its values are never checked for uniqueness or non-negativity. Duplicate or negative statement IDs violate the retryable-write/applyOps bookkeeping invariant, which is only enforced later by fatal assertions - the resulting crash state can be dur

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0C++
greprules fetch cve-2026-82068-cpp-write-command-stmtids-missing-uniqueness-validation --engine opengrep

Description

A client-supplied stmtIds array is accepted here after only a length check (and stmtId/stmtIds mutual exclusion); its values are never checked for uniqueness or non-negativity. Duplicate or negative statement IDs violate the retryable-write/applyOps bookkeeping invariant, which is only enforced later by fatal assertions - the resulting crash state can be dur