CVE-2026-117635
published medium CVSS 3.1 · 6.5Gitea admin API public-only token scope bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 to < 28.3.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 to < 28.3.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-1259 CWE-1259: Improper Restriction of Security Token Assignment
References
5- Gitea 28.3.0 release announcement https://blog.gitea.com/release-of-28.3.0/
- Fix: go-gitea/gitea pull request #39690 https://github.com/go-gitea/gitea/pull/39690
- Fix backport to release/v28: go-gitea/gitea pull request #39853 https://github.com/go-gitea/gitea/pull/39853
- go-gitea/gitea v28.3.0 release https://github.com/go-gitea/gitea/releases/tag/v28.3.0
- GitHub Security Advisory GHSA-37xv-m4w7-j2fh https://github.com/go-gitea/gitea/security/advisories/GHSA-37xv-m4w7-j2fh
Provider assertions
2Gitea · cna
Gitea admin API public-only token scope bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f93bceef82967109ba37c1e16feb9484eb178a72df08b37f4ce9ca9a26f64bf
- Ingested
- 07 Nov 2026, 23:38:48 UTC
- Source record
- Official CVE record