NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-27780: Gitea pre-receive hook scanner errors allow branch-protection bypass

criticalCVSS 3.1 9.8GHSA-vhq7-fwwh-7hjf

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.

Published Jul 3, 2026 · Updated Sep 1, 2026

Affected packages

code.gitea.io/gitea

Ecosystem
Go
Affected
< 1.26.0
Fixed in
1.26.0
Check
go list -m code.gitea.io/gitea

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries