Vulnerability · Published Jul 3, 2026 · Assigned by Gitea
CVE-2026-58422Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts
Critical 9.8
In plain English
A critical-severity improper access control in Gitea Open Source Git Server from Gitea. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.4%top 62.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.26.4 | GHSA-g9g6-qhrc-p3qc |
| Go | code.gitea.io/gitea | 1.26.4 | GO-2026-6056 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – through 1.26.1 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory vendor-advisory
- GitHub Pull Request #38009 patch
- Gitea v1.26.4 Release release-notes
- Gitea v1.26.4 Release Blog Post release-notes