9.8critical
Gitea pre-receive hook can miss branch-protection checks after scanner errors
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.64% (higher than 45% of CVEs)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- GHSA-vhq7-fwwh-7hjfGO-2026-6346
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Gitea Gitea Open Source Git Server | before 1.26.0 | CVE List |
| code.gitea.io/gitea (Go) | before 1.26.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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 Vulnerability Database
Gitea pre-receive hook scanner errors allow branch-protection bypass in code.gitea.io/gitea
NVD (es)
Las versiones de Gitea anteriores a la 1.26.0 no fallan en modo cerrado ante errores de bufio.Scanner al procesar la entrada del hook de pre-recepción, permitiendo que una entrada sobredimensionada eluda las comprobaciones de protección de ramas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27780 changed 2026-07-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vhq7-fwwh-7hjf changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6346 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-27780 changed 2026-10-25 | Public domain |