CVE-2026-73804: Gitea API token scope escalation through HTTP signatures

Published Oct 14, 2026
·
Updated

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 Software

1 affected component
Gitea Gitea

Event History

Oct 14, 2026
CVE Published
via MITRE·02:38 PM
Data Sourced
via MITRE·02:38 PM
DescriptionWeakness

Frequently Asked Questions

1

What access does an attacker need to exploit this?

The attacker needs an API token for the target account with the write:user scope. They use that scope to add an SSH public key they control, then authenticate HTTP Signature requests using the matching private key.

2

What permissions can the attacker obtain after exploitation?

HTTP Signature authentication is treated as the affected account without the API token's scope information, so route-level token scope checks are skipped. The attacker still has only the account's normal role and repository permissions; this does not grant permissions beyond what that account itself can access.

3

Which deployments are exposed?

Deployments are exposed where an account's write:user-scoped token can be used to register an attacker-controlled SSH key and HTTP Signature authentication is available. The provided information does not identify affected versions or configuration prerequisites.

4

How can defenders assess whether this may have been abused?

Review SSH public keys registered on user accounts, particularly keys added through API activity associated with write:user-scoped tokens. Also investigate HTTP Signature API requests authenticated as those accounts, because those requests may have bypassed route-level token scope checks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203