Vulnerability advisory
GHSA-vhq7-fwwh-7hjf
Gitea pre-receive hook scanner errors allow branch-protection bypass
Also known as CVE-2026-27780GO-2026-6346
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 1.26.0 | 1.26.0 |
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.