Vulnerability advisory
CVE-2026-27780
Gitea pre-receive hook can miss branch-protection checks after scanner errors
Also known as GHSA-vhq7-fwwh-7hjfGO-2026-6346
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before f09bea7af13bd00d07a34252468389d15de39a8d | f09bea7af13bd00d07a34252468389d15de39a8d |
Also listed as affected (37)
| |
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.