CVEvulnerability
CVE-2026-89182
5.4 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-10-06
- Last modified
- 2026-10-13
- Assigner
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-863
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.
Affected configurations
• gitea gitea (>= 1.27.0 < 28.1.0)
Related
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://blog.gitea.com/release-of-28.1.0/ Release Notes
- https://github.com/go-gitea/gitea/pull/39501 Patch, Issue Tracking
- https://github.com/go-gitea/gitea/pull/39507 Patch, Issue Tracking
- https://github.com/go-gitea/gitea/releases/tag/v28.1.0 Release Notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc Mitigation, Vendor Advisory
- https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc Mitigation, Vendor Advisory