Skip to content

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

HighCVSS 8.1 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Gitea <= 1.26.4 after 1.26.4 Fixed

Affected products

ProductAffected versionsFixed in
Gitea <= 1.26.4 No fix listed

References