CVE-2026-56654 Privilege Escalation via Access Token Scope Escalation in API
Attackers can escalate privileges by manipulating access token scopes in the Gitea API, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-56654?
CVE-2026-56654 is a critical vulnerability in Gitea Open Source Git Server, published on 13 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Privilege Escalation via Access Token Scope Escalation in API
Weakness: CWE-284
Which versions are affected by CVE-2026-56654?
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-56654?
Upgrade code.gitea.io/gitea to 1.27.0 or later.
Is CVE-2026-56654 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56654 exists.
Sources
Also known as GHSA-683j-3ff6-hh2x, GO-2026-6034, MINI-7g7m-7jcf-g3m7, MINI-vcf9-mwvv-m7qf.