CVE-2026-89182
Last modified
CVE-2026-89182 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | >= 1.27.0, < 28.1.0 |
References
- https://blog.gitea.com/release-of-28.1.0/Release Notes
- https://github.com/go-gitea/gitea/pull/39501Patch, Issue Tracking
- https://github.com/go-gitea/gitea/pull/39507Patch, Issue Tracking
- https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgcMitigation, Vendor Advisory
- https://github.com/go-gitea/gitea/security/advisories/GHSA-fx95-gwfc-grgcMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-89182?
How severe is CVE-2026-89182?
How do I fix CVE-2026-89182?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89176WeenyGenius, a computer lab management system developed by H…8.8
- CVE-2026-89177WeenyGenius, a computer lab management system by Howyar Tech…8.8
- CVE-2026-89178WeenyGenius, a computer lab management system by Howyar Tech…8.8
- CVE-2026-89179WeenyGenius, a computer lab management system by Howyar Tech…4.3
- CVE-2026-8918A permissive list of allowed inputs in ASUS Armoury Crate al…7.1
- CVE-2026-89180EFence developed by Thinking Software Technology has a SQL I…7.5
- CVE-2026-89186Use of Cache Containing Sensitive Information in ZenHive mpp…6.3
- CVE-2026-8919Permissive Cross-domain Security Policy with Untrusted Domai…7.2
- CVE-2026-89190The Robin Image Optimizer WordPress plugin before 2.0.8 doe…4.3
- CVE-2026-89191Unsanitised input in the "template name" field of SQLView KR…6.8
- CVE-2026-89193The Robin Image Optimizer WordPress plugin before 2.0.8 doe…7.5
- CVE-2026-89195The Site Setup Wizard WordPress plugin through 1.5.8 does no…8.6
Are you affected by CVE-2026-89182?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
