Repository Creation Flaw in Gitea's Organization Management
CVE-2026-70396

Currently unrated

Key Information:

Vendor

Gitea

Status
Vendor
CVE Published:
14 October 2026

What is CVE-2026-70396?

A vulnerability exists in Gitea's organization repository-creation API that allows the creation of organization-owned repositories without the necessary write:repository permission. This flaw results from the omission of the write:repository token scope, which is enforced in other repository-creation routes. Consequently, a personal access token or an OAuth application token lacking the required repository-write scope can still create repositories if the user has organization-level permissions, effectively bypassing the intended scope restrictions.

Affected Version(s)

Gitea 0 <= 1.27.2

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

https://github.com/rexpository
https://github.com/bircni
https://github.com/ybsun0215
.