CVE-2026-117635 PUBLISHED

Gitea admin API public-only token scope bypass

Assigner: Gitea
Reserved: 01.11.2026 Published: 01.11.2026 Updated: 01.11.2026

The /api/v1/admin route group did not enforce the public-only restriction of personal access tokens. A public-only token with admin scope issued by a site administrator could therefore list private organizations and the email addresses of all users, create organizations, obtain runner registration tokens and create new site administrator accounts, the last of which persists after the token is revoked. Tokens of users who are not site administrators cannot reach these routes; public-only tokens are now rejected on the admin API.

Product Status

Vendor Gitea
Product Gitea
Versions Default: unaffected
  • affected from 0 to 28.3.0 (excl.)

Credits

  • https://github.com/assakafpix reporter
  • https://github.com/torjan0 reporter
  • https://github.com/silverwind remediation developer

References

Problem Types

  • CWE-284: Improper Access Control CWE
  • CWE-1259: Improper Restriction of Security Token Assignment CWE