CVE-2026-27780
Gitea pre-receive hook can miss branch-protection checks after scanner errors
CRITICAL 9.8
En bref
- Source
- NVD
- EPSS
- EPSS 0.64 % · centile 50 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Gitea
- Statut NVD
- Deferred
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.
Faiblesses (CWE)
- CWE-863 — Autorisation incorrecte
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Avis
- GHSA-vhq7-fwwh-7hjf — Gitea pre-receive hook scanner errors allow branch-protection bypass
- GO-2026-6346 — Gitea pre-receive hook scanner errors allow branch-protection bypass in code.gitea.io/gitea
Références européennes
- ENISA EUVD · EUVD-2026-41638
- GCVE · GCVE-0-2026-27780
Produits affectés
| Produit | Versions |
|---|---|
| Gitea · Gitea Open Source Git Server | affected 0 < 1.26.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |