CVE-2026-26232 Details
Description
Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.
A vulnerability exists in Gitea versions prior to 1.25.5, where the expiration and single-use requirements of OAuth2 authorization codes are not consistently enforced during the token exchange process. This could potentially allow for the reuse of authorization codes, undermining the security of the OAuth2 authorization flow.
Users can upgrade to Gitea version 1.25.5, which addresses this vulnerability. Instructions for upgrading are available in the Gitea documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2026CISA-ADP
Assessed Jul 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.25.5/ | Gitea Limited | AdvisoryBundleRelease NotesVendor |
| https://github.com/go-gitea/gitea/pull/36797 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/pull/36851 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.25.5 | Gitea Limited | Release NotesVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-294 | Authentication Bypass by Capture-replay | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | < 1.25.5 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 7, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | Gitea Limited |
Volerion