CVE-2026-40293: Premature Loop Return In Channel Aggregation

Returning immediately upon branch setup failure in a parallel channel aggregation context. In a logical OR scenario (e.g. permission checks), this fail-fast aborts parallel checks and causes false negatives. Consider emitting the error to a channel and continuing instead.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-40293-premature-loop-return-in-channel-aggregation --engine opengrep

Description

Returning immediately upon branch setup failure in a parallel channel aggregation context. In a logical OR scenario (e.g. permission checks), this fail-fast aborts parallel checks and causes false negatives. Consider emitting the error to a channel and continuing instead.