{"id":"CVE-2026-28699","state":"PUBLISHED","title":"Gitea Basic Auth bypasses OAuth2 access token scopes","description":"Gitea versions up to and including 1.26.1 allow OAuth2 access token scope enforcement to be bypassed through HTTP Basic authentication.","publishedAt":"2026-07-03T20:19:38.663Z","updatedAt":"2026-07-06T15:18:39.782Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"Gitea"},"assigner":"Gitea","products":["Gitea Gitea Open Source Git Server"],"affected":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.26.1","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc","https://github.com/go-gitea/gitea/pull/37503","https://github.com/go-gitea/gitea/releases/tag/v1.26.2","https://blog.gitea.com/release-of-1.26.2/"],"weaknesses":["CWE-284","CWE-863"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/28xxx/CVE-2026-28699.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-28699","state":"PUBLISHED","datePublished":"2026-07-03T20:19:38.663Z","dateUpdated":"2026-07-06T15:18:39.782Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-03-03T03:25:50.232Z"},"containers":{"cna":{"title":"Gitea Basic Auth bypasses OAuth2 access token scopes","descriptions":[{"lang":"en","value":"Gitea versions up to and including 1.26.1 allow OAuth2 access token scope enforcement to be bypassed through HTTP Basic authentication."}],"affected":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.26.1","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc","name":"GitHub Security Advisory","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/37503","name":"GitHub Pull Request #37503","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.2","name":"Gitea v1.26.2 Release","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.26.2/","name":"Gitea v1.26.2 Release Blog Post","tags":["release-notes"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","description":"Improper Access Control","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-863","description":"Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-07-03T20:19:38.663Z"},"credits":[{"lang":"en","value":"Alardiians","type":"reporter"}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-06T15:18:36.564092Z","id":"CVE-2026-28699","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-06T15:18:39.782Z"}}]}}}