Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2026-26307

CVE-2026-26307: Gitea git grep searches allow server resource exhaustion

July 3, 2026 (updated September 1, 2026)

Gitea versions before 1.25.5 do not enforce a timeout on git grep searches, allowing expensive searches to consume server resources.

References

  • blog.gitea.com/release-of-1.25.5
  • github.com/advisories/GHSA-h9c5-x7g8-4q7f
  • github.com/go-gitea/gitea/commit/5d87bb3d4566e71b791a8114bfc9e25c037ab5fe
  • github.com/go-gitea/gitea/commit/f7e3569fab57d3525280670dffcc30c84c87b115
  • github.com/go-gitea/gitea/pull/36809
  • github.com/go-gitea/gitea/pull/36835
  • github.com/go-gitea/gitea/releases/tag/v1.25.5
  • nvd.nist.gov/vuln/detail/CVE-2026-26307

Code Behaviors & Features

Detect and mitigate CVE-2026-26307 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.25.5

Fixed versions

  • 1.25.5

Solution

Upgrade to version 1.25.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/code.gitea.io/gitea/CVE-2026-26307.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 05 Sep 2026 12:16:44 +0000.