{"id":"GHSA-5v69-g2m3-3hq3","summary":"Gitea OAuth2 authorization codes can be reused after expiry","details":"Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.","aliases":["CVE-2026-26232","GO-2026-6336"],"modified":"2026-09-02T19:55:27.569949851Z","published":"2026-07-03T21:31:37Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-09-01T17:23:13Z","nvd_published_at":"2026-07-03T21:16:58Z","cwe_ids":["CWE-294"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26232"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36797"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36851"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/413074b1e1dc5718b4865b9493d8cc97e1e128de"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/f3bdcc58aff60b66eba7bd5e9b23457441733dfe"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.25.5"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-5v69-g2m3-3hq3/GHSA-5v69-g2m3-3hq3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}