CVE-2026-45582: Nested Array Filter Index Shift Logic Bug

Filtering out empty nested sub-arrays removes intermediate items and shifts all subsequent indices. In structures where array indices provide semantic mapping (e.g., node output logic branches or protocol ports), this incorrectly recompiles connection maps, causing data corruption or authentication bypasses. If array indices represent immutable identifiers,

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-45582-nested-array-filter-index-shift-logic-bug --engine opengrep

Description

Filtering out empty nested sub-arrays removes intermediate items and shifts all subsequent indices. In structures where array indices provide semantic mapping (e.g., node output logic branches or protocol ports), this incorrectly recompiles connection maps, causing data corruption or authentication bypasses. If array indices represent immutable identifiers,