Gitea Open Source Git Server
Gitea pre-receive hook can miss branch-protection checks after scanner errors
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CISA ADP · CWE-863
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Gitea Gitea Open Source Git Server
- < 1.26.0
Fixed in 1.26.0
Mitigation
Upgrade Gitea Open Source Git Server to 1.26.0 or later.
References
- Patch github.com/go-gitea/gitea/pull/36963
- Release notes github.com/go-gitea/gitea/releases/tag/v1.26.0
- Release notes blog.gitea.com/release-of-1.26.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.