Advisory record · GHSA-cc8w-r4qh-3v65

Gitea: Git Smart HTTP Skips Repository Token Scopes for Bearer Tokens

CVSS 8.1 HighEPSS 0.0043 · 37th percentile

Published by the GitHub Advisory Database at 16 Jun 2026, 23:38 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-cc8w-r4qh-3v65 · CVE-2026-28744 · GO-2026-5321
Weakness (CWE)
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 repository-scoped access-token permissions on Git Smart HTTP requests when the token is sent as a Bearer credential rather than via HTTP Basic authentication. An attacker holding a valid token for a user with repository access can use it to clone or fetch private repositories without the read:repository scope, and to push without write:repository. Upgrade to Gitea 1.26.2 or later.

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.0043, the 37th 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.