CVE-2026-27780CWE-863
Gitea pre-receive hook can miss branch-protection checks after scanner errors
Critical · published July 3, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 9.8 · CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00638 · 49.9th percentile
- Weakness
- CWE-863 · Incorrect Authorization
- Published
- 2026-07-03T20:19Z
EPSS history
Timeline