~ / search / GHSA-vhq7-fwwh-7hjf

GHSA-vhq7-fwwh-7hjf

Gitea pre-receive hook scanner errors allow branch-protection bypass

Source: GitHub Advisory Database (reviewed) Critical CVE-2026-27780

Packages

EcosystemPackageAffectedFixed in
Go code.gitea.io/gitea < 1.26.0 1.26.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.