CVE-2026-89182
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Gitea | Gitea | 1.27.0 <= 28.0.0 | affected |
Weaknesses
- CWE-863: CWE-863: Incorrect Authorization
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc
- https://github.com/go-gitea/gitea/pull/39501
- https://github.com/go-gitea/gitea/pull/39507
- https://blog.gitea.com/release-of-28.1.0/
- https://github.com/go-gitea/gitea/releases/tag/v28.1.0
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.