# CVE-2026-89182: Gitea push-to-create bypass of FORCE_PRIVATE policy

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T21:36:01.187Z
- Modified: 2026-10-14T11:10:41.748Z
- Also known as: BIT-GITEA-2026-89182, GHSA-fx95-gwfc-grgc
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Gitea

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

(As written by CVE List.)

## Affected

- gitea.dev: from 1.27.0 up to 28.0.0
- gitea gitea: from 1.27.0 before 28.1.0
- gitea (Bitnami): from 1.27.0 before 28.1.0

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgc> (exploit, advisory, mitigation, vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39501> (fix, issue-tracking, patch)
- <https://github.com/go-gitea/gitea/pull/39507> (fix, issue-tracking, patch)
- <https://blog.gitea.com/release-of-28.1.0/> (article, release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.1.0> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-89182> (web)

## Sources

- CVE List: [CVE-2026-89182](https://www.cve.org/CVERecord?id=CVE-2026-89182), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-89182](https://nvd.nist.gov/vuln/detail/CVE-2026-89182), Public domain, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-GITEA-2026-89182](https://osv.dev/vulnerability/BIT-GITEA-2026-89182), Apache-2.0, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-89182 · Whole record: https://cve.day/CVE-2026-89182.json · Rebuilt by cve.day 2026-11-25T22:59:42.623Z
