CVE-2026-35000: Falsy Validation Bypass

Conditional validation using `.get()` truthiness (e.g., `req.get('key') and not is_valid(...)`) allows falsy values like empty strings `""`, lists `[]`, or `null` to bypass security validation entirely. If these unvalidated falsy values are processed downstream or stored in a system, they can lead to type confusion, crash-induced DoS, or authorization bypass

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-35000-falsy-validation-bypass --engine opengrep

Description

Conditional validation using `.get()` truthiness (e.g., `req.get('key') and not is_valid(...)`) allows falsy values like empty strings `""`, lists `[]`, or `null` to bypass security validation entirely. If these unvalidated falsy values are processed downstream or stored in a system, they can lead to type confusion, crash-induced DoS, or authorization bypass