CVE-2026-70396: gitea Incorrect Authorization
Vulnerability summary
CVE-2026-70396 is a medium (CVSS 5.4) Incorrect Authorization vulnerability in gitea. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 33.5% of scored vulnerabilities.
Timeline
- 14-10-2026PublishedVulnerability first disclosed.
- 18-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Gitea1 product
- gitea≤ 1.27.2
1 vendor · 1 product
References
5 links- blog.gitea.com/release-of-1.27.3/Release Notes
- github.com/go-gitea/gitea/releases/tag/v1.27.3Release Notes