CVE-2026-70396
Gitea organization repository creation token scope bypass
- State
- Published
- Severity
- 5.4 Medium
- Published
- Oct 14, 2026
- Updated
- Oct 18, 2026
- Reserved
- Aug 13, 2026
Description
Gitea's organization repository-creation API requires write:organization but omits the write:repository token scope enforced by other repository-creation routes. A personal access token or OAuth application token without repository-write scope can therefore create organization-owned repositories if the authorizing user has permission to do so. This bypasses the token's delegated scope boundary while remaining subject to the user's organization permissions.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L | CISA-ADP |
Weaknesses
- CWE-863 Incorrect Authorization
Affected Products
| Product | Versions |
|---|---|
GiteaGitea |
|
References
- GitHub Security Advisory GHSA-hxhc-246f-rvqcvendor-advisory
- Gitea 1.27.3 release announcementrelease-notes
- Fix: go-gitea/gitea pull request #39007patch
- Fix: go-gitea/gitea pull request #39014patch
- go-gitea/gitea v1.27.3 releaserelease-notes
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.