CVE-2026-89182 — Gitea push-to-create bypass of FORCE_PRIVATE policy
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 rep…
Published: 2026-10-06 · CVSS: 5.4 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7