CVE-2026-56750: CWE-284 in Gitea Gitea Open Source Git Server
Gitea Remember-Me Token Theft Not Invalidating Attacker Session
AI Analysis
Technical Summary
The vulnerability in Gitea (CVE-2026-56750) affects versions before 1.27.0 and involves improper session invalidation in the Remember-Me token mechanism. When an attacker uses a compromised Remember-Me token, Gitea rotates the token hash but does not invalidate all active sessions for the user, allowing the attacker to maintain persistent access. The root cause is that the compromised token remains in the database, which bypasses the security measure designed to revoke unauthorized access. This is classified under CWE-613 (Insufficient Session Expiration).
Potential Impact
An attacker with a compromised Remember-Me token can maintain persistent unauthorized access to the victim's account even after token rotation occurs. This undermines the security of user sessions and can lead to prolonged account compromise. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available that addresses this vulnerability by properly invalidating all active sessions when a Remember-Me token is compromised and rotated. Users and administrators should upgrade to Gitea version 1.27.0 or later to remediate this issue.
CVE-2026-56750: CWE-284 in Gitea Gitea Open Source Git Server
Description
Gitea Remember-Me Token Theft Not Invalidating Attacker Session
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Gitea (CVE-2026-56750) affects versions before 1.27.0 and involves improper session invalidation in the Remember-Me token mechanism. When an attacker uses a compromised Remember-Me token, Gitea rotates the token hash but does not invalidate all active sessions for the user, allowing the attacker to maintain persistent access. The root cause is that the compromised token remains in the database, which bypasses the security measure designed to revoke unauthorized access. This is classified under CWE-613 (Insufficient Session Expiration).
Potential Impact
An attacker with a compromised Remember-Me token can maintain persistent unauthorized access to the victim's account even after token rotation occurs. This undermines the security of user sessions and can lead to prolonged account compromise. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available that addresses this vulnerability by properly invalidating all active sessions when a Remember-Me token is compromised and rotated. Users and administrators should upgrade to Gitea version 1.27.0 or later to remediate this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rgv6-xp99-6mgj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-56750"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 4.0
Threat ID: 6a600abb9c2644c7f8fe2bad
Added to database: 07/22/2026, 00:11:39 UTC
Last enriched: 08/14/2026, 12:57:01 UTC
Last updated: 09/05/2026, 10:52:10 UTC
Views: 147
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.