Authentication Flaw in Gitea Allows Unauthorized API Access
CVE-2026-73804

Currently unrated

Key Information:

Vendor

Gitea

Status
Vendor
CVE Published:
14 October 2026

What is CVE-2026-73804?

A vulnerability in Gitea allows an attacker to manipulate a token with write:user scope and register an unauthorized SSH public key to the token owner's account. This flaw permits API requests signed by the corresponding private key to authenticate successfully as the account owner, bypassing essential route-level token scope checks. As a result, the token transitions into an unscoped API authentication method, retaining the owner's assigned roles and permissions, thus facilitating unauthorized access to protected resources.

Affected Version(s)

Gitea 0 <= 1.26.4

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

https://github.com/ohxorud-dev
https://github.com/bircni
https://github.com/lunny
https://github.com/delvh
https://github.com/wxiaoguang
https://github.com/TheFox0x7
.