CVE-2026-117635 Gitea admin API public-only token scope bypass
MediumCVSS 6.5
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | < 28.3.0 | 28.3.0 |
References
- GitHub Security Advisory GHSA-37xv-m4w7-j2fh vendor-advisory
- Fix: go-gitea/gitea pull request #39690 patch
- Fix backport to release/v28: go-gitea/gitea pull request #39853 patch
- Gitea 28.3.0 release announcement release-notes
- go-gitea/gitea v28.3.0 release release-notes
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2564534 issue-tracking
- www.cve.org
- nvd.nist.gov