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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
3DescriptionCVE.org
Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Gitea Open Source Git Server
View allBroken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r
Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any
Branch-protection bypass in Gitea's self-hosted Git server (all versions before 1.26.0) allows a user with push access t
Migration transport protections in Gitea are bypassed for Git LFS operations, affecting all self-hosted instances before
Authorization bypass in Gitea Open Source Git Server (versions up to and including 1.26.1) allows a user whose account w
Server-side request forgery in Gitea versions up to and including 1.26.2 lets authenticated users abuse incomplete allow
Cross-repository information disclosure and cross-task tampering in Gitea's self-hosted Git server (fixed in v1.26.2) ar
Arbitrary file read and write in Gitea before 1.25.5 arises when the template repository generation feature resolves pat
Improper input validation in Gitea Open Source Git Server before 1.25.5 lets authenticated users submit repository-creat
Authentication bypass via OAuth2 authorization code replay in Gitea before 1.25.5, where the server fails to consistentl
OAuth2 PKCE protection bypass in Gitea before 1.25.5 allows remote attackers to complete an authorization-code token exc
Broken access control in Gitea (self-hosted Git service) versions up to and including 1.26.4 lets the team-repository li
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 |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41604
GHSA-v96j-25gv-g2w9