{"api_version":"1","generated_at":"2026-07-04T20:38:17+00:00","cve":"CVE-2026-27780","urls":{"html":"https://cve.report/CVE-2026-27780","api":"https://cve.report/api/cve/CVE-2026-27780.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-27780","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-27780"},"summary":{"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.","state":"PUBLISHED","assigner":"Gitea","published_at":"2026-07-03 21:16:59","updated_at":"2026-07-03 21:16:59"},"problem_types":["CWE-863","CWE-863 Incorrect Authorization"],"metrics":[],"references":[{"url":"https://blog.gitea.com/release-of-1.26.0/","name":"https://blog.gitea.com/release-of-1.26.0/","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.0","name":"https://github.com/go-gitea/gitea/releases/tag/v1.26.0","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/36963","name":"https://github.com/go-gitea/gitea/pull/36963","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-27780","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27780","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Gitea","product":"Gitea Open Source Git Server","version":"affected 1.26.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"yonatan-pl","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Gitea Open Source Git Server","vendor":"Gitea","versions":[{"lessThan":"1.26.0","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"yonatan-pl"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-03T20:19:37.968Z","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea"},"references":[{"name":"GitHub Pull Request #36963","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/36963"},{"name":"Gitea v1.26.0 Release","tags":["release-notes"],"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.0"},{"name":"Gitea v1.26.0 Release Blog Post","tags":["release-notes"],"url":"https://blog.gitea.com/release-of-1.26.0/"}],"title":"Gitea pre-receive hook can miss branch-protection checks after scanner errors","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","assignerShortName":"Gitea","cveId":"CVE-2026-27780","datePublished":"2026-07-03T20:19:37.968Z","dateReserved":"2026-03-03T03:25:28.724Z","dateUpdated":"2026-07-03T20:19:37.968Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-03 21:16:59","lastModifiedDate":"2026-07-03 21:16:59","problem_types":["CWE-863","CWE-863 Incorrect Authorization"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"27780","Ordinal":"1","Title":"Gitea pre-receive hook can miss branch-protection checks after s","CVE":"CVE-2026-27780","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"27780","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Gitea pre-receive hook can miss branch-protection checks after s"}]}}}