{"id":"CVE-2026-27780","aliases":["CVE-2026-27780","GHSA-vhq7-fwwh-7hjf","GO-2026-6346"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea pre-receive hook can miss branch-protection checks after scanner errors","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Gitea pre-receive hook scanner errors allow branch-protection bypass in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-03T20:19:37.968Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.26.0","status":"affected"}],"vendor":"Gitea","product":"Gitea Open Source Git Server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.26.0"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.26.0"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/36963","tags":["patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.0","tags":["release-notes","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://blog.gitea.com/release-of-1.26.0/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27780","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea/commit/c453d09c36fad094405314dba2f370434b200711","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.com/release-of-1.26.0","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-vhq7-fwwh-7hjf","tags":["advisory"],"sources":["go"]}],"credits":["yonatan-pl"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-07-06T15:20:00.746Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27780","url":"https://www.cve.org/CVERecord?id=CVE-2026-27780","licence":"CVE Terms of Use","modified":"2026-07-06T15:20:06.013Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vhq7-fwwh-7hjf","url":"https://github.com/advisories/GHSA-vhq7-fwwh-7hjf","licence":"CC-BY-4.0","modified":"2026-09-10T15:25:56.958Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6346","url":"https://pkg.go.dev/vuln/GO-2026-6346","licence":"CC-BY-4.0","modified":"2026-09-10T15:15:12.307Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27780","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27780","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.115Z","epss":{"score":0.00638,"percentile":0.45163,"date":"2026-11-30T12:00:22.000Z"}}