← CVE Intelligence

CVE-2026-89182

Gitea push-to-create bypass of FORCE_PRIVATE policy PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Gitea / Giteaaffected 1.27.0 through 28.0.0

CWE

CWE-863

References

ADP enrichment

CISA-ADP

No English description supplied.