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.
https://github.com/go-gitea/gitea/releases/tag/v1.26.0
https://github.com/go-gitea/gitea/pull/36963
https://blog.gitea.com/release-of-1.26.0/
Source: Mitre, NVD
Published: 2026-07-03
Updated: 2026-07-03
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical