Advisory record · GHSA-683j-3ff6-hh2x

Gitea: Privilege Escalation via Access Token Scope Escalation in API

CVSS 9.8 CriticalCriticalEPSS 0.0083 · 58th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 21 Jul 2026, 20:24 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-683j-3ff6-hh2x · CVE-2026-56654 · GO-2026-6034
Weakness (CWE)
CWE-284 · CWE-287
Published
21 Jul 2026
Updated
22 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. An attacker holding a restricted access token can send it through Basic authentication to bypass the check that requires password login on the token creation endpoint, then create a new token with any scope, including all scopes, without knowing the account password. Upgrade to Gitea 1.27.0 or later; the source lists no workaround.

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
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H ADP (CISA-ADP)
  • CISA KEV Not listed.
  • EPSS 0.0083, the 58th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:57 UTC First seen by agentprime
  2. 31 Oct 2026, 14:57 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.