CVE-2026-52809: Wrong Token Lifetime For Password Reset

Generating an activation token instead of a password reset token may grant an attacker a much longer window to exploit hijacked reset links. Password reset tokens should have a distinct, shorter lifetime than generic account activation tokens.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-52809-wrong-token-lifetime-for-password-reset --engine opengrep

Description

Generating an activation token instead of a password reset token may grant an attacker a much longer window to exploit hijacked reset links. Password reset tokens should have a distinct, shorter lifetime than generic account activation tokens.