CVE-2026-72700: Php Timing Attack Token Comparison

Sensitive tokens or secrets are compared using non-constant-time equality operators (`===` or `==`). This leaks timing information and may allow attackers to deduce valid tokens via side-channel attacks. Use `hash_equals()` for constant-time comparison instead.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-72700-php-timing-attack-token-comparison --engine opengrep

Description

Sensitive tokens or secrets are compared using non-constant-time equality operators (`===` or `==`). This leaks timing information and may allow attackers to deduce valid tokens via side-channel attacks. Use `hash_equals()` for constant-time comparison instead.