GitHub Advisoryadvisory · Go

GHSA-vhq7-fwwh-7hjf Gitea pre-receive hook scanner errors allow branch-protection bypass

CRITICAL Published 2026-07-03 Modified 2026-09-01 Official page ↗
Aliases
CVE-2026-27780
Ecosystem
Go
Packages
code.gitea.io/gitea
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-863
Reviewed
2026-09-01

Affected packages

• Go code.gitea.io/gitea: < 1.26.0 → fixed in 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.

Related

Alias · CVE (1)

  • CVE-2026-27780 Gitea versions before 1.26.0 do not fail closed on bufio.Scanner errors while processing pre-receive hook input, allowing oversized input… vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References