Gitea allows a token with write:user scope to register an attacker-controlled SSH public key on the token owner's account.
- CVSS
- 8.1High
- Chance of exploitation (EPSS)
- 0.48%
- Published
- Oct 14, 2026
- In the news
- Not yet
What to do
A serious access control flaw in Gitea that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Gitea
- Through 1.26.4
Description
Gitea allows a token with write:user scope to register an attacker-controlled SSH public key on the token owner's account. API requests signed with the corresponding private key authenticate as that account through HTTP Signature without API token scope information, causing route-level token scope checks to be skipped. This converts a user-scoped token into an unscoped API authentication method while retaining the account's normal role and repository permissions.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-73804 published (CVSS 8.1) (Oct 14, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Oct 14, 2026
- CVECVE-2026-73804 published (CVSS 8.1)CVE Program · 15:17 UTC
References 6
- blog.gitea.com /release-of-1.27.2/
- github.com /go-gitea/gitea/pull/38862
- github.com /go-gitea/gitea/pull/38895
- github.com /go-gitea/gitea/releases/tag/v1.27.2
- github.com /go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65
- github.com /go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65