CVE-2026-96399

Gitea denial of service through external issue tracker patterns

Published Oct 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A repository's external issue tracker regular expression containing alternating capture groups could produce invalid slice indexes when Gitea rendered issue references, causing a runtime panic that terminated the Gitea process. A user who can edit a repository's external issue tracker settings could make any later rendering of matching content, such as viewing a README, crash the instance for all users.

Analysis

AI-generated

Technical impact

The vulnerability occurs when a repository’s external issue tracker regular expression contains alternating capture groups. During rendering of issue references, the regex can produce invalid slice indexes that cause a runtime panic that terminates the Gitea process. This results in a denial of service for all users on the instance.

Affected Systems

The affected product is Gitea, the self‑hosted Git service. No specific version range is provided in the advisory; administrators should verify whether the system runs a version before the 28.0.0 release and apply the fix if needed.

Risk and Exploitability

An attacker must have permission to edit a repository’s external issue tracker settings to exploit the flaw. Once configured, any subsequent rendering of content that matches the malicious pattern—such as viewing a README—will crash the entire application. The CVSS score is 7.5, indicating a high severity, and the EPSS score is less than 1%, suggesting a low likelihood of exploitation, though the vulnerability is not listed in CISA’s KEV catalog. Without a patch, the risk remains high for systems that have not yet upgraded. The potential for an uncontrolled crash makes this a severe availability threat.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gitea to 28.0.0 or later, which contains the fix for the regex handling bug.
  • Limit who can modify repository settings so that only trusted users can change external issue tracker patterns.
  • Temporarily disable the external issue tracker integration or remove the problematic repository regex patterns until the patch can be applied.

Generated by OpenCVE AI on October 7, 2026 at 23:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
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': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description A repository's external issue tracker regular expression containing alternating capture groups could produce invalid slice indexes when Gitea rendered issue references, causing a runtime panic that terminated the Gitea process. A user who can edit a repository's external issue tracker settings could make any later rendering of matching content, such as viewing a README, crash the instance for all users.
Title Gitea denial of service through external issue tracker patterns
Weaknesses CWE-125
CWE-248
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 7, 2026, 8:10 PM
Reserved
Oct 4, 2026, 9:59 PM
Status
Analyzed
Published
Oct 6, 2026, 8:17 PM
Modified
Oct 13, 2026, 3:36 PM