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.
https://github.com/go-gitea/gitea/releases/tag/v1.26.0
https://github.com/go-gitea/gitea/pull/36963