Vulnerability · Published Jul 3, 2026 · Assigned by Gitea
CVE-2026-26307Gitea git grep search lacks a timeout
High 7.5
In plain English
A high-severity uncontrolled resource consumption in Gitea Open Source Git Server from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 49.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Gitea versions before 1.25.5 do not enforce a timeout on git grep searches, allowing expensive searches to consume server resources.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.25.5 | GHSA-h9c5-x7g8-4q7f |
| Go | code.gitea.io/gitea | 1.25.5 | GO-2026-6341 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – before 1.25.5 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- GitHub Pull Request #36809 patch
- GitHub Pull Request #36835 patch
- Gitea v1.25.5 Release release-notes
- Gitea v1.25.5 Release Blog Post release-notes