All reports
Critical

Gitea pre-receive hook scanner errors allow branch-protection bypass

Affected versions

Version ranges need review.

Affected versions
< 1.26.0
Fixed version
1.26.0
Affected versions
<1.26.0
Fixed version
1.26.0

Exploitation

CVE-2026-27780

Probability of exploitation in the next 30 days: 0.64%

FIRST EPSS · 2026-11-21

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.

Links