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.
Weaknesses
- CWE-284 — CWE-284: Improper Access Control
- CWE-1259 — CWE-1259: Improper Restriction of Security Token Assignment
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 0 to <28.3.0 [affected] |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-37xv-m4w7-j2fh (vendor-advisory)
- https://github.com/go-gitea/gitea/pull/39690 (patch)
- https://github.com/go-gitea/gitea/pull/39853 (patch)
- https://blog.gitea.com/release-of-28.3.0/ (release-notes)
- https://github.com/go-gitea/gitea/releases/tag/v28.3.0 (release-notes)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 02 Nov 2026 08:07 UTC.