{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-27780","id":"CVE-2026-27780","title":"Gitea pre-receive hook can miss branch-protection checks after scanner errors","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.","descriptionLong":"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.","published":"2026-07-03T20:19:37.968Z","updated":"2026-10-28T02:30:27.428539505Z","reserved":"2026-03-03T03:25:28.724Z","status":"Deferred","rejected":false,"assigner":"Gitea","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Gitea Open Source Git Server"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.26.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.26.0"],"fixed":["1.26.0"],"advisory":"GHSA-vhq7-fwwh-7hjf"}],"cwes":["CWE-863"],"aliases":["GHSA-vhq7-fwwh-7hjf","GO-2026-6346"],"references":[{"url":"https://github.com/go-gitea/gitea/pull/36963","tags":["patch","fix","web"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.0","tags":["release-notes","advisory","web"]},{"url":"https://blog.gitea.com/release-of-1.26.0/","tags":["release-notes","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27780.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27780","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea/commit/c453d09c36fad094405314dba2f370434b200711","tags":["web"]},{"url":"https://blog.gitea.com/release-of-1.26.0","tags":["web"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-vhq7-fwwh-7hjf","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00638,"epssPercentile":0.51363,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-27780","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27780","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-27780","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vhq7-fwwh-7hjf","ok":true,"note":"GHSA-vhq7-fwwh-7hjf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-27780","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}