CVE-2026-27780
Gitea pre-receive hook can miss branch-protection checks after scanner errors
Description
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.
INFO
Published Date :
July 3, 2026, 8:19 p.m.
Last Modified :
July 3, 2026, 8:19 p.m.
Remotely Exploit :
No
Source :
Gitea
Affected Products
The following products are affected by CVE-2026-27780
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update Gitea to version 1.26.0 or later.
- Ensure branch protection checks are properly configured.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-27780 vulnerability anywhere in the article.