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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | ≤ 1.26.4 | — |
Advisories 1
- WID-SEC-2026-2863 Gitea: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 14, 2026
References
- GitHub Security Advisory GHSA-q55v-4cmj-xh65 vendor-advisory
- Gitea 1.27.2 release announcement release-notes
- Fix: go-gitea/gitea pull request #38862 patch
- Fix: go-gitea/gitea pull request #38895 patch
- go-gitea/gitea v1.27.2 release release-notes