Advisory record · GHSA-vrhc-jjfc-m3m3

Gitea: OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)

CVSS 8.1 HighEPSS 0.0041 · 36th percentile

Published by the GitHub Advisory Database at 21 Jul 2026, 21:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
code.gitea.io/giteaGo<1.27.01.27.0
Identifiers
GHSA-vrhc-jjfc-m3m3 · CVE-2026-55987 · GO-2026-6078
Weakness (CWE)
CWE-863
Published
21 Jul 2026
Updated
27 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Gitea versions before 1.27.0 are affected. On auth sources that never issue refresh tokens, such as GitHub or OIDC/OAuth2 sources configured without offline_access, a user whose account an administrator deactivated can sign in through the source and have their account reactivated with a full session. An attacker needs only to be the deactivated user with the ability to sign in through that source, and can then restore their own access, including admin access if the account was an administrator. Upgrade to Gitea 1.27.0 or later. Accounts disabled with Prohibit Login are not affected.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.1 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0041, the 36th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:55 UTC First seen by agentprime
  2. 31 Oct 2026, 14:55 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.