Skip to content
CVE PROGRAM SOURCE RECORD5.4 Medium

CVE-2026-89182

Gitea push-to-create bypass of FORCE_PRIVATE policy

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Gitea Gitea

Default version status: unaffected

  • 1.27.0 to ≤ 28.0.0affected

References