Vulnerability advisory
CVE-2026-28699
Gitea Basic Auth bypasses OAuth2 access token scopes
Also known as GHSA-9r5x-wg6m-x2rcGO-2026-5299
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before 2c749ce548b1da0a52835861a87b888e67842d29 | 2c749ce548b1da0a52835861a87b888e67842d29 |
Also listed as affected (42)
| |
Description
Gitea versions up to and including 1.26.1 allow OAuth2 access token scope enforcement to be bypassed through HTTP Basic authentication.
References
- Advisoryblog.gitea.com/release-of-1.26.2/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28699.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.26.2 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-28699 ↗
- Fixgithub.com/go-gitea/gitea/pull/37503 ↗