Insufficient Session Expiration in Gitea - CVE-2026-56750
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to maintain persistent access to a victim's account.
The vulnerability exists due to improper session expiration in Remember-Me token validation logic when handling a compromised Remember-Me cookie with a hash mismatch. A remote user can use a stolen Remember-Me token to maintain persistent access to a victim's account.
The issue affects POST /user/login and any endpoint that triggers autoSignIn via the Remember-Me cookie.