Skip to content
CVE PROGRAM SOURCE RECORD5.4 Medium

CVE-2026-70396

Gitea organization repository creation token scope bypass

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Gitea Gitea

Default version status: unaffected

  • 0 to ≤ 1.27.2affected

References