CVE-2026-134023: TastyIgniter: Password reset code comparison is not constant-time (timing side-channel)
TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. Prior to 4.2.0, checkResetPasswordCode() in src/Auth/Models/User.php compares a submitted reset code with the stored 42-character token using a normal string comparison, which can return after the first differing byte instead of taking constant time. The password-reset flow exposes this comparison to remote requests, but the endpoint is rate-limited to six requests per minute per IP, and the advisory reports no live exploit or practical token-recovery demonstration. Recovering a high-entropy reset code through the constrained timing signal could permit an unauthorized password reset. This issue is fixed in version 4.2.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.2.0
Event History
Frequently Asked Questions
Which deployments are affected?
TastyIgniter versions prior to 4.2.0 are affected where the password-reset flow is available, because remote requests reach the reset-code comparison.
What would an attacker need to do to exploit this issue?
An attacker would need to infer a valid stored 42-character, high-entropy reset token from timing differences in repeated password-reset code submissions. If successful, the recovered token could be used to perform an unauthorized password reset.
How practical is remote exploitation?
The reset endpoint is limited to six requests per minute per IP, which constrains timing measurements. The advisory reports no live exploit or practical demonstration of token recovery.
What is the remediation?
Upgrade TastyIgniter to version 4.2.0, which fixes the reset-code comparison.