GHSA-vhq7-fwwh-7hjf
Dashboard / Vulnerabilities / GHSA-vhq7-fwwh-7hjf
GHSA-vhq7-fwwh-7hjf
Published: 3 Jul 2026Last Modified: 10 Sept 2026
Aliases:
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.
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
Affected packages
Package
Name: code.gitea.io/gitea
Purl: pkg:golang/code.gitea.io/gitea
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.26.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
