CVE-2026-58422 Details
Description
Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts
A vulnerability in Gitea's OAuth2 sign-in callback can improperly reactivate accounts that administrators have disabled. This issue is present in Gitea versions through 1.26.1. When a user authenticates via a linked external identity provider, the callback automatically restores their access, disregarding the administrator's disablement. As a result, the user regains full access to their repositories, organizations, and tokens, undermining administrative controls.
Users can upgrade to Gitea version 1.26.4, which addresses this vulnerability.
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 6, 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://github.com/go-gitea/gitea/security/advisories/GHSA-g9g6-qhrc-p3qc | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://blog.gitea.com/release-of-1.26.3-and-1.26.4/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/38009 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.26.4 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-g9g6-qhrc-p3qc | Gitea Limited | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | <= 1.26.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | Gitea Limited |
Volerion