CVE-2026-73804
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-266
- Record status
- Deferred
Attack profile CVSS 3.1 · 8.1
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Fix and advisories
- https://github.com/go-gitea/gitea/pull/38862
- https://github.com/go-gitea/gitea/pull/38895
- https://github.com/go-gitea/gitea/releases/tag/v1.27.2
- https://github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65
- https://github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65
References
- https://blog.gitea.com/release-of-1.27.2/
- https://github.com/go-gitea/gitea/pull/38862
- https://github.com/go-gitea/gitea/pull/38895
- https://github.com/go-gitea/gitea/releases/tag/v1.27.2
- https://github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65
- https://github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65