CVE-2026-89182: Gitea push-to-create bypass of FORCE_PRIVATE policy
Vulnerability summary
CVE-2026-89182 is a medium (CVSS 5.4) Incorrect Authorization vulnerability in gitea. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 7.1% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 06-10-2026PublishedVulnerability first disclosed.
- 07-10-2026Last modifiedVulnerability information updated.
Description
With `[repository] FORCE_PRIVATE = true`, Gitea creates new repositories as private, but the post-receive hook still applied the `repo.private=false` push option to an empty repository created by push. Any user who can create repositories could make their new repository public in violation of the instance policy. The default configuration is not affected.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 0.20% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Gitea1 product
- gitea≥ 1.27.0, ≤ 28.0.0 | ≥ 1.27.0, < 28.1.0
1 vendor · 1 product
References
5 links- blog.gitea.com/release-of-28.1.0/Release Notes
- github.com/go-gitea/gitea/releases/tag/v28.1.0Release Notes