HIGH
Gitea Basic Auth bypasses OAuth2 access token scopes
Published Jul 3, 2026
8.1
HIGHCVSS 3.1
EPSS 0.55%
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
-
- Version 0StatusaffectedConstraints<=1.26.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Gitea | Gitea Open Source Git Server | unaffected |
|
No data.
No data.
No Red Hat product state for this CVE.
code.gitea.io/gitea
Go
Introduced 0 Fixed 1.26.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | code.gitea.io/gitea | 0 | 1.26.2 |
Remediation
No remediation recorded yet.
Weaknesses (2)
References (6)
- https://blog.gitea.com/release-of-1.26.2/ release-notes
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41640 Advisory
- https://github.com/advisories/GHSA-9r5x-wg6m-x2rc Advisory
- https://github.com/go-gitea/gitea/pull/37503 patch
- https://github.com/go-gitea/gitea/releases/tag/v1.26.2 release-notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc exploitvendor-advisory
| Link | Providers | Tags |
|---|---|---|
| https://blog.gitea.com/release-of-1.26.2/ | release-notes | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41640 | Advisory | |
| https://github.com/advisories/GHSA-9r5x-wg6m-x2rc | Advisory | |
| https://github.com/go-gitea/gitea/pull/37503 | patch | |
| https://github.com/go-gitea/gitea/releases/tag/v1.26.2 | release-notes | |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc | exploitvendor-advisory |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Gitea
Published Jul 3, 2026
Updated Jul 6, 2026
Reserved Mar 3, 2026
Link CVE-2026-28699
CISA Vulnrichment
Updated Jul 6, 2026
ENISA EUVD
EUVD-2026-41640 GHSA-9R5X-WG6M-X2RC Assigner Gitea
Published Jul 3, 2026
Updated Jul 6, 2026
Exploited since n/a
Link EUVD-2026-41640