Description
Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service
Published: 2026-07-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An unauthenticated ReDoS (Regular Expression Denial of Service) flaw occurs when Gitea processes CODEOWNERS files. During pattern matching the server evaluates a by the requester, and a crafted pattern can force excessive CPU consumption. An attacker can trigger this by sending a malicious pattern through an unauthenticated request to any repository, causing the serverresponsive and denying service to all users. The weakness corresponds to CWE‑284, a control that permits unauthenticated users to execute a computationally expensive routine.

Affected Systems

The vulnerability affects the Gitea Open Source Git Server. The advisory does not specify an exact version range that is affected. It references a fix after the release of 1.26.4, however it does not confirm that the patch is included in that release. Thus, at this time it is unclear which specific releases contain the fix and which remain vulnerable. Versions prior to 1.26.4 are potentially exposed.

Risk and Exploitability

The the EPSS score is less than 1%, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is an una the CODEOWNERS parsing endpoint. Because the flaw can be triggered without authentication, an instance can cause a denial of service, making the vulnerability potentially exploitable, especially in public or permissively exposed deployments. The system remains at risk for denial of service, but current exploitation trends appear limited due to the low EPSS. The CVSS score for this vulnerability is 7.5, indicating a high severity level.

Generated by OpenCVE AI on July 23, 2026 at 16:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to the latest available version, as the advisory does not confirm that 1.26.4 contains the patch.
  • If an immediate upgrade is not possible, temporarily remove or disable CODEOWNERS file processing or restrict access to the directories where these files are stored.
  • Implement request throttling of potential abuse.

Generated by OpenCVE AI on July 23, 2026 at 16:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-v96j-25gv-g2w9 Gitea: Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service
History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Mon, 06 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 03 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service
Title Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service
Weaknesses CWE-284
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-06T15:12:29.175Z

Reserved: 2026-06-30T18:57:20.614Z

Link: CVE-2026-58421

cve-icon Vulnrichment

Updated: 2026-07-06T15:12:17.042Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-23T16:15:03Z

Weaknesses