CVE-2026-70396 Gitea organization repository creation token scope bypass
MediumCVSS 5.4
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | <= 1.27.2 | after 1.27.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 1.27.2 | No fix listed |
References
- GitHub Security Advisory GHSA-hxhc-246f-rvqc vendor-advisory
- Gitea 1.27.3 release announcement release-notes
- Fix: go-gitea/gitea pull request #39007 patch
- Fix: go-gitea/gitea pull request #39014 patch
- go-gitea/gitea v1.27.3 release release-notes
- ENISA EUVD EUVD-2026-101093 third-party-advisory