CVE-2025-32389: Query Builder Silent Condition Bypass

A query builder loop handles unexpected types by silently skipping them with `continue`. When these filters enforce security checks, passing a scalar where an array is expected (e.g. via an HTTP parameter manipulation `?param=value` vs `?param[]=value`) can silently drop intended query constraints and lead to bypasses or injection. Throw an exception instead

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHPβ
greprules fetch cve-2025-32389-query-builder-silent-condition-bypass --engine opengrep

Description

A query builder loop handles unexpected types by silently skipping them with `continue`. When these filters enforce security checks, passing a scalar where an array is expected (e.g. via an HTTP parameter manipulation `?param=value` vs `?param[]=value`) can silently drop intended query constraints and lead to bypasses or injection. Throw an exception instead