HIGH7.5
GHSA-h9c5-x7g8-4q7f
Gitea git grep searches allow server resource exhaustion
Quick fix
GHSA-h9c5-x7g8-4q7f — code.gitea.io/gitea: upgrade to the fixed version with the command below.
go get code.gitea.io/gitea@v1.25.5Details
Gitea versions before 1.25.5 do not enforce a timeout on git grep searches, allowing expensive searches to consume server resources.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-26307[ADVISORY]
- https://github.com/go-gitea/gitea/pull/36809[WEB]
- https://github.com/go-gitea/gitea/pull/36835[WEB]
- https://github.com/go-gitea/gitea/commit/5d87bb3d4566e71b791a8114bfc9e25c037ab5fe[WEB]
- https://github.com/go-gitea/gitea/commit/f7e3569fab57d3525280670dffcc30c84c87b115[WEB]
- https://blog.gitea.com/release-of-1.25.5[WEB]
- https://github.com/go-gitea/gitea[PACKAGE]
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5[WEB]