{"id":"GHSA-vhq7-fwwh-7hjf","revision":"b579e17fd82142208bbcc65cbd591978","records":[{"revision":"b579e17fd82142208bbcc65cbd591978","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-vhq7-fwwh-7hjf","aliases":["CVE-2026-27780","GO-2026-6346"],"title":"Gitea pre-receive hook scanner errors allow branch-protection bypass","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.","state":0,"publishedAt":"2026-07-03T21:31:38+00:00","modifiedAt":"2026-09-10T15:25:56.9585784+00:00","affected":[{"ecosystem":"Go","name":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.26.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-27780","https://github.com/go-gitea/gitea/pull/36963","https://github.com/go-gitea/gitea/commit/c453d09c36fad094405314dba2f370434b200711","https://blog.gitea.com/release-of-1.26.0","https://github.com/go-gitea/gitea","https://github.com/go-gitea/gitea/releases/tag/v1.26.0"],"sourceUrl":"https://github.com/advisories/GHSA-vhq7-fwwh-7hjf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vhq7-fwwh-7hjf","identifiers":["GHSA-vhq7-fwwh-7hjf","CVE-2026-27780","GO-2026-6346"]},"retained":false,"historicalAffected":[]}],"coverage":[]}