Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Gitea / Gitea | affected 0 through 1.27.2 |
CWE
CWE-863
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39007
- https://github.com/go-gitea/gitea/pull/39014
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3
ADP enrichment
No English description supplied.
No references supplied.