Improper Authorization in Gitea - CVE-2026-58422
Published: July 1, 2026 / Updated: July 1, 2026
Vulnerability identifier: #VU136605
CSH Severity: Medium
CVSS v4: 7.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-58422
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to bypass authorization checks.
The vulnerability exists due to insufficient authorization controls in OAuth2 sign-in callback. A remote user can gain read and write access on the target system.
Affected software
Gitea
How to mitigate CVE-2026-58422
Install updates from vendor's website.
Gitea - update to 1.26.4