{"id":"GHSA-vhq7-fwwh-7hjf","summary":"Gitea pre-receive hook scanner errors allow branch-protection bypass","details":"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.","aliases":["CVE-2026-27780","GO-2026-6346"],"modified":"2026-09-10T15:25:56.958578363Z","published":"2026-07-03T21:31:38Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-09-01T18:55:25Z","nvd_published_at":"2026-07-03T21:16:59Z","cwe_ids":["CWE-863"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27780"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36963"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/c453d09c36fad094405314dba2f370434b200711"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.26.0"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.0"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.26.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vhq7-fwwh-7hjf/GHSA-vhq7-fwwh-7hjf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}