Vulnerability advisory
GHSA-h9c5-x7g8-4q7f
Gitea git grep searches allow server resource exhaustion
Also known as CVE-2026-26307GO-2026-6341
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 1.25.5 | 1.25.5 |
Description
Gitea versions before 1.25.5 do not enforce a timeout on git grep searches, allowing expensive searches to consume server resources.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-26307 ↗
- Webgithub.com/go-gitea/gitea/pull/36809 ↗
- Webgithub.com/go-gitea/gitea/pull/36835 ↗
- Webgithub.com/go-gitea/gitea/commit/5d87bb3d4566e71b791a8114bfc9e25c037ab5fe ↗
- Webgithub.com/go-gitea/gitea/commit/f7e3569fab57d3525280670dffcc30c84c87b115 ↗
- Webblog.gitea.com/release-of-1.25.5 ↗
- Packagegithub.com/go-gitea/gitea ↗
- Webgithub.com/go-gitea/gitea/releases/tag/v1.25.5 ↗