CVE-2026-27780Published Jul 3, 2026 · Jul 3Updated Oct 28
Gitea pre-receive hook can miss branch-protection checks after scanner errors
Gitea Open Source Git Server
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| code.gitea.io/gitea Go |
|
|
Original 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.
From the CVE record · Gitea