CVE-2026-58422: Vulnerability in code.gitea.io/gitea
Critical. Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts
Go, CWE-284
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-g9g6-qhrc-p3qc
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-284
- Published
- 3 Jul 2026
- Last change
- 25 Oct 2026
- Ecosystem
- Go
Affected packages
Vulnerable version ranges and fixed releases
- code.gitea.io/gitea Go, Affected before 1.26.4. Fixed in 1.26.4
Advisories
Vendor and security advisories
- github.com/go-gitea/gitea/security/advisories/GHSA-g9g6-qhrc-p3qc
- blog.gitea.com/release-of-1.26.3-and-1.26.4
Patches and fixes
Updates, commits and release notes