CVE-2026-56750: code.gitea.io/gitea · Gitea Remember-Me Token Theft Not Invalidating Attacker Session
Affects code.gitea.io/giteaSource GCVE Database
Not known to be exploited · CVSS 9.1 Critical : upgrade to 1.27.0 as a priority.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.27.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade code.gitea.io/gitea and gitea.dev to 1.27.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gocode.gitea.io/gitea | Affected
| Fixed in
|
Gogitea.devpkg:golang/gitea.devOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Gitea version 1.27.0. Users and administrators should upgrade to version 1.27.0 or later to ensure that compromised Remember-Me tokens properly invalidate all active sessions as intended. No additional mitigation is required beyond applying the official patch.
Description
Gitea versions prior to 1.27.0 contain a vulnerability in the Remember-Me token validation logic. When a stolen Remember-Me token is used by an attacker, Gitea rotates the token hash but does not invalidate the attacker's session after detecting a hash mismatch. This allows the attacker to maintain persistent access to the victim's account indefinitely. The issue is fixed in version 1.27.0.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-rgv6-xp99-6mgj (opens in a new tab)
- github.com/go-gitea/gitea/pull/38406 (opens in a new tab)
- github.com/go-gitea/gitea/pull/38426 (opens in a new tab)
- github.com/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31 (opens in a new tab)
- github.com/go-gitea/gitea/commit/f69e15afe7496cc62e96dab244629c69eb31a7bf (opens in a new tab)
- github.com/go-gitea/gitea (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v1.27.0 (opens in a new tab)