Improper Authorization in Gitea - CVE-2026-58422

 

Improper Authorization in Gitea - CVE-2026-58422

Published: July 1, 2026 / Updated: July 1, 2026


Vulnerability identifier: #VU136605
CSH Severity: Medium
CVSS v4.0: 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/E:P/U:Green
CVE-ID: CVE-2026-58422
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: The Gitea Authors
Affected software:
Gitea

Detailed vulnerability description

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.


How to mitigate CVE-2026-58422

Install updates from vendor's website.

Sources