Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Gitea versions before 1.26.4 are vulnerable to a regular expression denial of service in CODEOWNERS pattern matching, where user-supplied patterns are evaluated by the regexp2 library with no match timeout. Any registered user who can open a pull request can craft a CODEOWNERS file and a file name that cause the server to hang, tying up database connections and potentially making the instance unresponsive. Upgrade to Gitea 1.26.4 or later. The source gives no workaround.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.0040, the 34th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:55 UTC First seen by agentprime
- 31 Oct 2026, 14:55 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-v96j-25gv-g2w9
- OSV: GHSA-v96j-25gv-g2w9
- github.com/go-gitea/gitea/security/advisories/GHSA-v96j-25gv-g2w9
- nvd.nist.gov/vuln/detail/CVE-2026-58421
- github.com/go-gitea/gitea/pull/38011
- github.com/go-gitea/gitea/commit/ea35af1b68d57522c7686618bd61d3216d91589f
- blog.gitea.com/release-of-1.26.3-and-1.26.4
- github.com/go-gitea/gitea
- github.com/go-gitea/gitea/releases/tag/v1.26.4