CVE-2026-28428: Php Loose Auth Token Comparison

Loose equality comparison (`==` or `!=`) used on authentication token or key variable. In PHP, loose comparisons can lead to type juggling issues and authentication bypass. Use strict comparison (`===` or `!==`) or `hash_equals()` instead.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-28428-php-loose-auth-token-comparison --engine opengrep

Description

Loose equality comparison (`==` or `!=`) used on authentication token or key variable. In PHP, loose comparisons can lead to type juggling issues and authentication bypass. Use strict comparison (`===` or `!==`) or `hash_equals()` instead.