CVE-2026-27780: Vulnerability in code.gitea.io/gitea
Critical. 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.
Go, CWE-863
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- 0.6 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-vhq7-fwwh-7hjf
- EU ID
- EUVD-2026-41638
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-863
- Published
- 3 Jul 2026
- Last change
- 25 Oct 2026
- Likelihood rank
- Higher than 45 % of all rated vulnerabilities
- Analysis status
- Deferred
- Ecosystem
- Go
Affected packages
Vulnerable version ranges and fixed releases
- code.gitea.io/gitea Go, Affected before 1.26.0. Fixed in 1.26.0
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes