CVE-2026-70396

Gitea organization repository creation token scope bypass

State
Published
Severity
5.4 Medium
Published
Oct 14, 2026
Updated
Oct 18, 2026
Reserved
Aug 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LCISA-ADP

Weaknesses

Affected Products

ProductVersions
GiteaGitea
  • 1.27.2 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.