Vulnerability
CVE-2026-27780
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.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories in Go
-
GHSA-vhq7-fwwh-7hjf
Gitea pre-receive hook scanner errors allow branch-protection bypass
-
GO-2026-6346
Gitea pre-receive hook scanner errors allow branch-protection bypass in code.gitea.io/gitea