Paper/Archive/CVE-2026-27780

CVE-2026-27780

Gitea Gitea Open Source Git Server — Gitea pre-receive hook can miss branch-protection checks after scanner errors

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Gitea Open Source Git Server< 1.26.01.26.0CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

patchgithub.com/go-gitea/gitea/pull/36963refgithub.com/go-gitea/gitea/releases/tag/v1.26.0refblog.gitea.com/release-of-1.26.0