code.gitea.io/gitea
Affected
- introduced
0, fixed1.26.0(semver)
Fixed versions
1.26.0
Fix
- Fixed version
1.26.0go get code.gitea.io/[email protected]
Advisory
Also known as: CVE-2026-27780, GO-2026-6346
Gitea pre-receive hook scanner errors allow branch-protection bypass
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 1.26.0 (semver)1.26.0
1.26.0go get code.gitea.io/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0