Advisory record · GHSA-9r5x-wg6m-x2rc

Gitea: OAuth2 access token scope enforcement bypass via HTTP Basic authentication

CVSS 8.1 HighEPSS 0.0055 · 46th percentile

Published by the GitHub Advisory Database at 16 Jun 2026, 23:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
code.gitea.io/giteaGo<1.26.21.26.2
Identifiers
GHSA-9r5x-wg6m-x2rc · CVE-2026-28699 · GO-2026-5299
Weakness (CWE)
CWE-284 · CWE-863
Published
16 Jun 2026
Updated
25 Jun 2026

Machine-written summary

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

Gitea versions before 1.26.2 do not enforce OAuth2 access token scopes when the token is sent through HTTP Basic authentication instead of a Bearer token. An attacker holding a token that was granted only a restricted scope, such as read:user, can use it via Basic auth to modify the user's profile and settings, add email addresses, and create, modify, or delete repositories as the authorizing user. Upgrade to Gitea 1.26.2 or later, which fixes the issue.

Written 7 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 CNA (Gitea)
  • CISA KEV Not listed.
  • EPSS 0.0055, the 46th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

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