CVE-2026-27780: Incorrect Authorization in Gitea Gitea Open Source Git Server
Gitea versions before 1.26.0 do not fail closed on bufio.Scanner errors while processing pre-receive hook input, allowing oversized input to bypass branch-protection checks.
AI Analysis
Technical Summary
Gitea Open Source Git Server versions before 1.26.0 do not properly fail closed when bufio.Scanner encounters errors processing pre-receive hook input. This improper error handling allows attackers to supply oversized input that bypasses branch-protection mechanisms, leading to incorrect authorization and potential unauthorized code changes in protected branches.
Potential Impact
Successful exploitation can result in unauthorized modification of protected branches, compromising the integrity and security of the source code repository. The vulnerability affects confidentiality, integrity, and availability, as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.26.0, upgrading to version 1.26.0 or later is recommended once a fix is available. Until then, monitor vendor communications for official patches or workarounds.
CVE-2026-27780: Incorrect Authorization in Gitea Gitea Open Source Git Server
Description
Gitea versions before 1.26.0 do not fail closed on bufio.Scanner errors while processing pre-receive hook input, allowing oversized input to bypass branch-protection checks.
CVSS v3.1
Score 9.8critical
Affected software
pkg:golang/github.com/go-gitea/giteaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Gitea Open Source Git Server versions before 1.26.0 do not properly fail closed when bufio.Scanner encounters errors processing pre-receive hook input. This improper error handling allows attackers to supply oversized input that bypasses branch-protection mechanisms, leading to incorrect authorization and potential unauthorized code changes in protected branches.
Potential Impact
Successful exploitation can result in unauthorized modification of protected branches, compromising the integrity and security of the source code repository. The vulnerability affects confidentiality, integrity, and availability, as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.26.0, upgrading to version 1.26.0 or later is recommended once a fix is available. Until then, monitor vendor communications for official patches or workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Gitea
- Date Reserved
- 2026-03-03T03:25:28.724Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4820fe27e9c79719acc083
Added to database: 07/03/2026, 20:52:14 UTC
Last enriched: 07/11/2026, 09:02:19 UTC
Last updated: 08/18/2026, 10:54:22 UTC
Views: 197
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.