Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Gitea HTTP endpoint
-
DeliverySubmit crafted CODEOWNERS pattern input
-
ExploitTrigger catastrophic regex backtracking
-
ExecutionExhaust server CPU
-
ImpactDeny service to legitimate users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The specific prerequisite is that the target Gitea instance processes CODEOWNERS pattern matching against attacker-influenced input - the vulnerable code path is the CODEOWNERS regex evaluation. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N) exploitation requires no authentication, no user interaction, and only network reachability to the Gitea HTTP service, so any internet-exposed instance older than 1.26.3 is exposed. The limiting factors are: the attacker must be able to reach an endpoint that invokes CODEOWNERS processing, the affected version must predate the 1.26.3/1.26.4 fix, and the impact is confined to availability (service slowdown/outage) with no confidentiality or integrity effect. |
| Impact | Signals are internally consistent for a network-facing DoS but not a top-tier emergency. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U, C:N/I:N/A:H) scores 7.5 High and indicates remote, low-complexity, unauthenticated abuse affecting availability only - no data confidentiality or integrity loss. EPSS is low (0.16%, 6th percentile), there is no KEV listing and no POC referenced, so this is a plausible-but-not-yet-observed threat rather than an active campaign. The 'Authentication Bypass' tag in the intelligence conflicts with the description and the CVSS PR:N/A:H profile (a pure DoS, not an auth bypass) - treat that tag as mislabeled and rely on the ReDoS/DoS framing. Practical priority is moderate: patch promptly on internet-exposed Gitea instances, but this is an availability nuisance, not a code-execution or data-breach risk. |
| Exploit ScenarioDerived | An attacker reachable over the network sends a request that causes Gitea to evaluate a crafted CODEOWNERS pattern, triggering catastrophic regex backtracking that pegs a CPU core; repeating the request in parallel starves the server and denies service to legitimate users. Because the CVSS vector is AV:N/AC:L/PR:N/UI:N, no authentication or user interaction is required, though no public proof-of-concept has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Denial of service in Gitea, the self-hosted open-source Git service, allows a remote unauthenticated attacker to exhaust server CPU by triggering catastrophic backtracking in the regular-expression engine that evaluates CODEOWNERS pattern matching. All versions prior to the fixed 1.26.3/1.26.4 releases are affected, and the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, A:H only) confirms network-reachable, low-complexity, no-authentication abuse with availability-only impact. There is no public exploit identified at time of analysis and EPSS is low (0.16%, 6th percentile), so exploitation risk is real but not yet widespread.
RemediationAI
Vendor-released patch: upgrade Gitea to 1.26.4 (or at minimum 1.26.3), which contain the fix per the release blog (https://blog.gitea.com/release-of-1.26.3-and-1.26.4/) and the tagged release https://github.com/go-gitea/gitea/releases/tag/v1.26.4; the code change is in pull request https://github.com/go-gitea/gitea/pull/38011 and is described in advisory GHSA-v96j-25gv-g2w9. If immediate upgrade is not possible, reduce exposure by placing the Gitea instance behind authentication or a reverse proxy that rate-limits and time-limits requests to CODEOWNERS-triggering endpoints, and restrict who can create or modify repositories containing CODEOWNERS files - with the trade-off that rate-limiting can affect legitimate CI/automation traffic and restricting repo creation limits normal collaboration. These are stopgaps only; the regex fix in the patched release is the reliable remedy.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a Regular Expression Denial of Service (ReDoS): Gitea parses repository CODEOWNERS files and compiles the ownership patterns into regular expressions, and a maliciously crafted pattern (or crafted input matched against it) causes catastrophic backtracking that consumes disproportionate CPU time. The affected component is the Gitea Open Source Git Server (cpe:2.3:a:gitea:gitea_open_source_git_server), a Go-based self-hosted Git forge comparable to GitHub/GitLab. The CVE is labeled CWE-284 (Improper Access Control), but that classification appears inaccurate for the described behavior - the actual root cause is an inefficient/uncontrolled regular expression (functionally CWE-1333 ReDoS / CWE-400 uncontrolled resource consumption), which the CVSS availability-only impact profile corroborates.
Know when Gitea gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote, low-complexity, unauthenticated ReDoS reachable over the network with no user interaction; availability-only impact, no confidentiality or integrity effect.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
Lifecycle Timeline
2DescriptionCVE.org
Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service
Executive ViewAI
Gitea instances running versions before 1.26.3 are vulnerable to a denial-of-service attack that could force service outages, halting critical development infrastructure with no authentication required. An unauthenticated attacker can trigger CPU exhaustion through regular CODEOWNERS pattern matching, creating a direct path to application unavailability. Organizations must upgrade immediately to restore reliability and prevent development team disruption.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in Gitea (self-hosted Git service) via a code-injection flaw (CWE-94) allows attackers to run arbi
Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r
Gitea before 1.16.7 does not escape git fetch remote. Rated high severity (CVSS 7.5), this vulnerability is remotely exp
The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer envir
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea
Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any
Path traversal in Gitea's Org-mode (`.org`) markup renderer allows an attacker who can get Org-mode content rendered by
Container escape in Gitea act_runner (Docker backend, through act 0.262.0) lets an authenticated user with workflow-exec
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to rem
Server-side request forgery and internal repository exfiltration in Gitea before 1.27.0 lets a low-privileged authentica
Authorization bypass in Gitea versions 1.22.3 through 1.26.1 allows holders of `public-only` access tokens or OAuth gran
An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
Same weakness CWE-284 – Improper Access Control
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
EUVD-2026-41604
GHSA-v96j-25gv-g2w9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB