{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.25.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f913d90ab664c1deccdfbe8c563abb13e897d62b"
            }
          ],
          "repo": "https://github.com/go-gitea/gitea",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Gitea",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26307.json"
  },
  "details": "Gitea versions before 1.25.5 do not enforce a timeout on git grep searches, allowing expensive searches to consume server resources.",
  "id": "CVE-2026-26307",
  "modified": "2026-07-15T01:49:19.675297147Z",
  "published": "2026-07-03T20:19:35.520Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://blog.gitea.com/release-of-1.25.5/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26307.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/releases/tag/v1.25.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-26307"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/36809"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/36835"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Gitea git grep search lacks a timeout"
}