Vulnerability GHSA-46f8-hgf3-9p6m

High Risk
HIGH RISK
CVSS Score: 7.4
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
11 hours ago
November 30, 2026 at 08:55 PM UTC
TastyIgniter: Password reset code comparison is not constant-time (timing side-channel)
v1.9.2 and v1.10.0 and v1.10.1 and v1.11.0 and v1.12.0 and v1.12.1 and v1.13.0 and 1.13.1 - 1.13.3 and v4.0.0-beta.1 and v4.0.0 and v4.0.1 and v4.0.2 and v4.0.3 and v4.0.4 and v4.0.5 and v4.0.7 and v4.0.8 and v4.0.9 and v4.0.10 and v4.0.11 and v4.0.12 and v4.0.13 and v4.0.14 and v4.0.15 and v4.0.16 and v4.0.17 and v4.0.18 and v4.1.0 and v4.1.1 and v4.1.2 and v4.1.3 and v4.1.4
v1.9.2 and v1.10.0 and v1.10.1 and v1.11.0 and v1.12.0 and v1.12.1 and v1.13.0 and 1.13.1 - 1.13.3 and v4.0.0-beta.1 and v4.0.0 and v4.0.1 and v4.0.2 and v4.0.3 and v4.0.4 and v4.0.5 and v4.0.7 and v4.0.8 and v4.0.9 and v4.0.10 and v4.0.11 and v4.0.12 and v4.0.13 and v4.0.14 and v4.0.15 and v4.0.16 and v4.0.17 and v4.0.18 and v4.1.0 and v4.1.1 and v4.1.2 and v4.1.3 and v4.1.4

Summary

TastyIgniter: Password reset code comparison is not constant-time (timing side-channel)

Details

Summary

The password-reset code verification compares the submitted code to the stored value using PHP's != operator instead of a constant-time comparison function, creating a theoretical timing side-channel on a security-sensitive token comparison.

Details

checkResetPasswordCode() (src/Auth/Models/User.php, ~lines 160-175):

if ($this->reset_code != $resetCode) {
    return false;
}

PHP's != on strings short-circuits on the first differing byte, which is a textbook timing side-channel for a security token comparison, versus using hash_equals().

PoC

Not exploited live. The login/reset endpoint is protected by a throttle:6,1 rate limit (6 requests/minute/IP, confirmed live on the Login controller), which makes practical timing-based recovery of a 42-character random token computationally infeasible over a real network in any reasonable timeframe. This finding is reported as a defense-in-depth code-quality fix rather than a demonstrated exploit.

Impact

Low in practice due to the endpoint's own rate limiting, but a real deviation from secure-coding best practice for comparing security tokens. Worth fixing as a free, one-line change that removes the theoretical gap entirely, in case the rate limit is ever relaxed or bypassed by a future change.

Impacted packages

Timeline

Published
11 hours ago
November 30, 2026 at 08:55 PM UTC
Last Modified
11 hours ago
November 30, 2026 at 09:00 PM UTC