CVE-2026-27780

published 3 Jul 2026 · updated 6 Jul 2026

Gitea pre-receive hook can miss branch-protection checks after scanner errors

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Open Source Git Server 1.26.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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaOpen Source Git Server<1.26.01.26.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-27780 severity on Zeptric[![CVE-2026-27780](https://zeptric.io/badge/cve/CVE-2026-27780.svg)](https://zeptric.io/cve/CVE-2026-27780)