Incorrect authorization in Gitea - CVE-2026-73804

 

Incorrect authorization in Gitea - CVE-2026-73804

Published: August 15, 2026


Vulnerability identifier: #VU142696
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-73804
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass API token scope restrictions and perform unauthorized API actions.

The vulnerability exists due to incorrect authorization in HTTP Signature authentication and route-level scope enforcement when processing HTTP Signature-authenticated API requests created from a user-scoped token. A remote user can add an attacker-controlled SSH public key to the account and sign API requests to bypass API token scope restrictions and perform unauthorized API actions.

The resulting access is constrained by the compromised account\'s normal RBAC permissions, but API token scope checks are skipped because the request is marked as API-token authenticated without an associated scope.


Affected software

Gitea

How to mitigate CVE-2026-73804

Install security update from vendor's website.

Gitea - update to 1.27.2

External References

Related Security Bulletins