CVE-2026-89182

published 6 Oct 2026 · updated 7 Oct 2026

Gitea push-to-create bypass of FORCE_PRIVATE policy

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaGitea>=1.27.0 <=28.0.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-89182 severity on Zeptric[![CVE-2026-89182](https://zeptric.io/badge/cve/CVE-2026-89182.svg)](https://zeptric.io/cve/CVE-2026-89182)