CVE-2026-27780

critical

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.

References

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/

Details

Source: Mitre, NVD

Published: 2026-07-03

Updated: 2026-07-03

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

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