CVEvulnerability
CVE-2026-70396
5.4 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-10-14
- Last modified
- 2026-10-18
- Assigner
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-863
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.
Related
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://blog.gitea.com/release-of-1.27.3/ blog.gitea.com
- https://github.com/go-gitea/gitea/pull/39007 github.com
- https://github.com/go-gitea/gitea/pull/39014 github.com
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3 github.com
- https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc github.com