Skip to main content
VulnerabilityPublished

CVE-2026-56750: code.gitea.io/gitea · Gitea Remember-Me Token Theft Not Invalidating Attacker Session

Affects code.gitea.io/giteaSource GCVE Database

0
Compare
Authoritative record:CVE-2026-56750· Critical 9.1

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

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Gocode.gitea.io/giteaAffected
  • <1.27.0
Fixed in
  • 1.27.0
Gogitea.devpkg:golang/gitea.devOther threatsAffected
  • <1.27.0
Fixed in
  • 1.27.0

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

Community reviews

Loading reviews…