Description
Gitea Remember-Me Token Theft Not Invalidating Attacker Session
Published: 2026-08-13
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-613
References
Metrics threat_severity

None

threat_severity

Important


Fri, 14 Aug 2026 20:30:00 +0000

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'}


Thu, 13 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Thu, 13 Aug 2026 17:00:00 +0000

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

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-14T19:18:19.475Z

Reserved: 2026-07-08T09:19:08.736Z

Link: CVE-2026-56750

cve-icon Vulnrichment

Updated: 2026-08-14T19:18:13.919Z

cve-icon NVD

Status : Deferred

Published: 2026-08-13T17:17:25.577

Modified: 2026-08-26T16:53:48.300

Link: CVE-2026-56750

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-13T16:44:43Z

Links: CVE-2026-56750 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T10:30:17Z

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-613

    Insufficient Session Expiration