CVE-2026-56750

Gitea Remember-Me Token Theft Not Invalidating Attacker Session

Published Aug 13, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
Gitea Remember-Me Token Theft Not Invalidating Attacker Session

Analysis

AI-generated

Technical impact

Gitea uses a remember‑me cookie to keep users logged in across browser sessions. If an attacker obtains this cookie, they can start a session as the legitimate user. The application does not invalidate a stolen cookie when the real user logs out or changes their credentials, allowing the attacker to keep the malicious session active without further authentication steps.

Affected Systems

The vulnerability affects all instances of Gitea Open Source Git Server that run before the 1.27.0 release, as the token‑invalidation fix is only present in that version and later. Until the fix is applied, any deployment could be impacted.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity, while the EPSS score of < 1% suggests a low probability of exploitation. The flaw provides an authentication bypass. The likely attack vector involves acquiring the remember‑me cookie through phishing, credential theft, or other side‑channel methods; once the attacker holds the cookie, they can reuse it from any remote location. The issue is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Gitea version 1.27.0 or later, which implements remember‑me token invalidation
  • Ensure that your deployment’s session handling logic invalidates tokens on logout or password changes, adjusting any custom extensions as needed
  • Enable multi‑factor authentication and monitor session activity to detect anomalous persistence

Generated by OpenCVE AI on August 22, 2026 at 10:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rgv6-xp99-6mgj Gitea Remember-Me Token Theft Not Invalidating Attacker Session
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Gitea Remember-Me Token Theft Not Invalidating Attacker Session
Title Gitea Remember-Me Token Theft Not Invalidating Attacker Session
Weaknesses CWE-284
References
Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 7:18 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM
Severity
Important
Public date
Aug 13, 2026, 4:44 PM