CVE Catalog

CVE-2026-89182

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

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.

Risk Assessment

Privacy policy violation — users can create public repositories despite forced privacy, potentially exposing sensitive data.

Recommendation

Update Gitea to a patched version and verify the post-receive hook respects FORCE_PRIVATE for push-created repositories.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS