Impact
An unauthenticated Regular Expression Denial of Service (ReDoS) flaw exists in Gitea when processing CODEOWNERS files. During pattern matching the server evaluates input supplied by a requester, and a crafted regular expression can consume excessive CPU resources. An attacker can trigger the bug by sending a malicious pattern from an unauthenticated request against any repository, causing the server to become unresponsive and denying service to all users. The weakness is catalogued as CWE‑284, a control that permits unauthenticated users to execute a computationally expensive routine.
Affected Systems
The flaw affects Gitea Open Source Git Server releases 1.26.3 and earlier. The advisory mentions that the fix is included in release 1.26.4, so only instances running a version older than 1.26.4 are vulnerable.
Risk and Exploitability
The EPSS score is less than 1 %, indicating a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 7.5 classifies the issue as high severity. The attack vector is inferred to be an unauthenticated request to the CODEOWNERS parsing endpoint, which does not require authentication and can be triggered from any network location. While exploitation is currently rare, the high impact on availability warrants immediate attention.
OpenCVE Enrichment
Github GHSA