CVE-2026-89182 Gitea push-to-create bypass of FORCE_PRIVATE policy
MediumCVSS 5.4
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | >= 1.27.0, < 28.1.0; >= 1.27.0, <= 28.0.0 | 28.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | >= 1.27.0, <= 28.0.0 | No fix listed |
| Gitea | >= 1.27.0, < 28.1.0 | 28.1.0 |
References
- GitHub Security Advisory GHSA-fx95-gwfc-grgc exploit mitigation vendor-advisory
- Fix: go-gitea/gitea pull request #39501 issue-tracking patch
- Fix backport to release/v28: go-gitea/gitea pull request #39507 issue-tracking patch
- Gitea 28.1.0 release announcement release-notes
- go-gitea/gitea v28.1.0 release release-notes
- ENISA EUVD EUVD-2026-94065 third-party-advisory