critical9.8
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-prot…
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.26.0 | 1.26.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-vhq7-fwwh-7hjf
- https://nvd.nist.gov/vuln/detail/CVE-2026-27780
- https://github.com/go-gitea/gitea/pull/36963
- https://blog.gitea.com/release-of-1.26.0
- https://github.com/go-gitea/gitea/releases/tag/v1.26.0
- https://github.com/go-gitea/gitea/commit/c453d09c36fad094405314dba2f370434b200711
- https://blog.gitea.com/release-of-1.26.0/