Insufficient Session Expiration in Gitea - CVE-2026-56750

 

Insufficient Session Expiration in Gitea - CVE-2026-56750

Published: July 14, 2026


Vulnerability identifier: #VU137436
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-56750
CWE-ID: CWE-613
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Gitea

How to mitigate CVE-2026-56750

Install security update from vendor's website.

Gitea - update to 1.27.0

External References

Related Security Bulletins