CVE-2026-73804
published high CVSS 3.1 · 8.1Gitea API token scope escalation through HTTP signatures
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 1.26.4 · Other versions: unaffected | Affected | Not stated | Gitea |
| Alpine Linux | edge | gitea | Fixed | 1.27.3-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.26.4 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
2- CWE-266 CWE-266: Incorrect Privilege Assignment
- CWE-863 CWE-863: Incorrect Authorization
References
5- Gitea 1.27.2 release announcement https://blog.gitea.com/release-of-1.27.2/
- Fix: go-gitea/gitea pull request #38862 https://github.com/go-gitea/gitea/pull/38862
- Fix: go-gitea/gitea pull request #38895 https://github.com/go-gitea/gitea/pull/38895
- go-gitea/gitea v1.27.2 release https://github.com/go-gitea/gitea/releases/tag/v1.27.2
- GitHub Security Advisory GHSA-q55v-4cmj-xh65 https://github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65
Provider assertions
2Gitea · cna
Gitea API token scope escalation through HTTP signatures
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 58eb05db75fc3eb1156442cd9c806cf4bc224cbe7bf5d64d1e24795332ce0ef9
- Ingested
- 18 Oct 2026, 13:43:44 UTC
- Source record
- Official CVE record