{"id":"CVE-2026-28699","published":"2026-07-03T20:19:38Z","modified":"2026-07-06T15:18:39Z","title":"Gitea Basic Auth bypasses OAuth2 access token scopes","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","description":{"text":"Gitea versions up to and including 1.26.1 allow OAuth2 access token scope enforcement to be bypassed through HTTP Basic authentication.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00551,"percentile":0.46992,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/37503","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.2","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.26.2/","tags":["release-notes"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":9.4},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-11","earliestUrl":"https://github.com/Alardiians/gitea-CVE-2026-28699","repos":[{"name":"Alardiians/gitea-CVE-2026-28699","url":"https://github.com/Alardiians/gitea-CVE-2026-28699","stars":1,"created":"2026-06-11"}]},"first":{"date":"2026-06-11","source":"PoC-in-GitHub","url":"https://github.com/Alardiians/gitea-CVE-2026-28699"},"provenance":"source"},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":["<= 1.26.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-06T15:18:36.564092Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-9r5x-wg6m-x2rc","GO-2026-5299"],"provenance":"source"}],"summary":{"text":"The flaw is in the Gitea Open Source Git Server product, where OAuth2 access token scope enforcement can be bypassed through HTTP Basic authentication in versions up to and including 1.26.1. An attacker holding valid credentials with network access to the server can use HTTP Basic authentication to act beyond the permissions their OAuth2 access token scopes should allow, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:00Z"},"euvd":{"id":"EUVD-2026-41640","exploited":false,"provenance":"source"}}