# CVE-2026-89182: Gitea push-to-create bypass of FORCE\_PRIVATE policy

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-06 · Modified: 2026-10-07
- Record: https://cvemate.com/vulnerability/CVE-2026-89182 · JSON: https://cvemate.com/vulnerability/CVE-2026-89182/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.174%, percentile 7.172%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: ≥ 1.27.0, ≤ 28.0.0 \| ≥ 1.27.0, \< 28.1.0

## 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>

---

Data as of 2026-12-05T14:12:58.334Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
