Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-89182 EUVD-2026-94065

Gitea push-to-create bypass of FORCE_PRIVATE policy

Published Oct 6, 2026 · Updated Oct 7, 2026 · 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.

Affected products

VendorProductAffectedFixed
Gitea Gitea 1.27.0 – ≤ 28.0.0 —

Advisories 1

References