Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2026-28699 EUVD-2026-41640GHSA-9r5x-wg6m-x2rcGO-2026-5299

Gitea Basic Auth bypasses OAuth2 access token scopes

Published Jul 3, 2026 · Updated Jul 6, 2026 · Assigned by Gitea

Description

Gitea versions up to and including 1.26.1 allow OAuth2 access token scope enforcement to be bypassed through HTTP Basic authentication.

Affected products

VendorProductAffectedFixed
Gitea Gitea Open Source Git Server ≤ 1.26.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.26.2 1.26.2 GHSA-9r5x-wg6m-x2rc

Advisories 2

References