CVE-2026-27780 Gitea pre-receive hook can miss branch-protection checks after scanner errors
CriticalCVSS 9.8
EPSS 0.64%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.26.0 | 1.26.0 | Fixed |
| Gitea Open Source Git Server | < 1.26.0 | 1.26.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea(Go) | < 1.26.0 | 1.26.0 |
| Gitea Open Source Git Server | < 1.26.0 | 1.26.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #36963 patch
- github.com patch
- Gitea v1.26.0 Release Blog Post release-notes
- github.com product
- Gitea v1.26.0 Release release-notes
- github.com vendor-advisory