All vulnerabilities

Servers and applications

CVE-2026-89182

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.

Severity
Medium 5.4
Published
6 Oct 2026
Last changed
13 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
28.1.0
Sources
NVD

Affected software

SoftwareAffected versions
GiteaServers and applications · cpe:a:gitea:gitea
  • From 1.27.0 before 28.1.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-89182
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-89182