CVE-2026-27780
published critical CVSS 3.1 · 9.8Gitea pre-receive hook can miss branch-protection checks after scanner errors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 to < 1.26.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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 advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 to < 1.26.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-863 Incorrect Authorization
References
3- Gitea v1.26.0 Release Blog Post https://blog.gitea.com/release-of-1.26.0/
- GitHub Pull Request #36963 https://github.com/go-gitea/gitea/pull/36963
- Gitea v1.26.0 Release https://github.com/go-gitea/gitea/releases/tag/v1.26.0
Provider assertions
2Gitea · cna
Gitea pre-receive hook can miss branch-protection checks after scanner errors
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c89398c2277d63a61c1d95868ef39cecec439e66c9c6abb2d2b4b84a3d6d09cd
- Ingested
- 23 Sep 2026, 09:07:57 UTC
- Source record
- Official CVE record