A AegiFlow
CRITICALCVSS 9.8EPSS 0.6%

CVE-2026-27780

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

Published
2026-07-03
Modified
2026-09-01
EPSS percentile
48%
Aliases
GHSA-vhq7-fwwh-7hjf
Sources
github-advisory

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Gocode.gitea.io/gitea1.26.0

Remediation: Upgrade to 1.26.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.