CVE-2026-55987 Gitea: OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)
Attackers can reactivate administrator-deactivated accounts via OAuth2 sign-in on auth sources lacking refresh tokens, bypassing access controls.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-55987?
CVE-2026-55987 is a high-severity authentication bypass vulnerability in Gitea Open Source Git Server, published on 13 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)
Weakness: CWE-863
Which versions are affected by CVE-2026-55987?
3 open source packages ship an affected version, including code.gitea.io/gitea and gitea.dev.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.27.0 |
code.gitea.io/gitea Go | All versions | 1.27.0 |
gitea.dev Go | All versions | 1.27.0 |
How do I fix CVE-2026-55987?
Upgrade code.gitea.io/gitea to 1.27.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-55987 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55987 exists.
Sources
Also known as GHSA-vrhc-jjfc-m3m3, GO-2026-6078, MINI-h338-c35c-5j9x, MINI-p7wc-5mfw-hrff.