Skip to main content
← All vulnerabilities
CVE-2026-89182BIT-GITEA-2026-89182GHSA-FX95-GWFC-GRGC

Gitea push-to-create bypass of FORCE_PRIVATE policy

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 28.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gitea.dev

    From 1.27.0 · through 28.0.0

  • giteaBitnami

    From 1.27.0 · fixed in 28.1.0

References 5

GitHub · go-gitea/gitea

blog.gitea.com