CVE-2026-27780
Gitea pre-receive hook can miss branch-protection checks after scanner errors
- State
- Published
- Severity
- 9.8 Critical
- Published
- Jul 3, 2026
- Updated
- Jul 6, 2026
- Reserved
- Mar 3, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-863 Incorrect Authorization
Affected Products
| Product | Versions |
|---|---|
Gitea Open Source Git ServerGitea |
|
References
- GitHub Pull Request #36963patch
- Gitea v1.26.0 Releaserelease-notes
- Gitea v1.26.0 Release Blog Postrelease-notes
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.