CVE-2026-56750
Received Received - Intake

Gitea Session Token Theft via Remember-Me

Vulnerability report for CVE-2026-56750, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: Gitea Limited

Description

Gitea Remember-Me Token Theft Not Invalidating Attacker Session

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
go-gitea gitea to 1.26.4 (inc)
go-gitea gitea 1.27.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-56750 is a vulnerability in Gitea where an attacker can steal a user's Remember-Me token and use it to authenticate. Gitea rotates the token's hash but keeps the same ID. When the legitimate user tries to use their original token, Gitea detects a hash mismatch and returns an error. However, it fails to invalidate all active Remember-Me sessions, allowing the attacker's session to persist indefinitely.

Detection Guidance

Check Gitea logs for multiple authentication attempts using the same Remember-Me token ID but with mismatched hashes. Look for users reporting token failures despite valid credentials. Verify if attacker sessions persist after legitimate users authenticate.

Impact Analysis

If you use Gitea versions up to 1.26.4, an attacker who steals your Remember-Me token could gain unauthorized access to your account. Even after you attempt to log in again, the attacker's session remains active, potentially leading to prolonged unauthorized access to your data and projects.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. Failure to invalidate compromised sessions may result in non-compliance with data protection principles, potentially leading to legal and regulatory penalties.

Mitigation Strategies

Upgrade Gitea to version 1.27.0 or later immediately. Review and manually invalidate all active Remember-Me tokens in the database for affected users. Monitor for unauthorized access attempts post-upgrade.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56750. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart