Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Gitea (low-priv account)
-
DeliveryConfigure webhook or migration with crafted internal URL
-
ExploitBypass incomplete allow-list filter
-
ExecutionServer issues request to internal target
-
ImpactExfiltrate internal data or pivot
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated Gitea account (CVSS PR:L) with permission to create a webhook or start a repository migration/mirror - these are the exact features whose allow-list filtering is incomplete. The attacker must supply a target URL/host that bypasses the (present but incomplete) SSRF allow-list, and there must be a reachable internal service worth hitting from the Gitea host. Limiting factors: it is not exploitable unauthenticated, so instances that disable self-registration and restrict webhook/migration creation to trusted users substantially reduce risk; impact also depends on the Gitea server having network reachability to sensitive internal endpoints. Affects Gitea up to and including 1.26.2 on default configurations of those features. |
| Impact | The supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N, base 9.6) drives the critical score largely through the scope change (S:C) and high confidentiality/integrity impact, reflecting that a successful SSRF reaches systems beyond Gitea's own security authority. Importantly, PR:L confirms exploitation requires an authenticated account with privileges to create webhooks or initiate migrations, so this is not an unauthenticated internet-wide threat. No EPSS score, KEV listing, or POC was provided: there is no evidence of active exploitation or public exploit code, which tempers the raw 9.6. The realistic priority is 'patch promptly, especially on instances that permit self-registration or untrusted users,' rather than emergency response - the criticality is real but gated behind authentication and dependent on having sensitive internal services reachable from the Gitea host. Note the A:N in the vector is consistent with SSRF (data exposure/pivot, not denial of service). |
| Exploit ScenarioDerived | An attacker registers or uses an existing low-privileged account on an internet-facing Gitea instance, then configures a repository webhook or starts a repository migration pointing at an internal address (e.g. a cloud metadata endpoint or internal service) encoded in a form that slips past the incomplete allow-list check. Gitea's server then issues the request from inside the trusted network and returns or acts on the response, exposing internal data or reaching services the attacker could not otherwise contact. No public exploit is currently identified, and success depends on the attacker having the low-privilege access denoted by CVSS PR:L. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Server-side request forgery in Gitea versions up to and including 1.26.2 lets authenticated users abuse incomplete allow-list filtering in the webhook and repository-migration features to coerce the server into making requests to internal or otherwise restricted network destinations. Because the existing SSRF protection is incomplete rather than absent, attackers can craft addresses that bypass the allow-list checks to reach services that should be unreachable from outside. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; a vendor patch is available in Gitea 1.26.3.
RemediationAI
Vendor-released patch: upgrade to Gitea 1.26.3 or later (1.26.4 is also available per the release blog), which corrects the incomplete allow-list filtering in the webhook and migration code paths per pull requests https://github.com/go-gitea/gitea/pull/38173 and https://github.com/go-gitea/gitea/pull/38059. If immediate upgrade is not possible, reduce exposure by disabling or tightly restricting who can create webhooks and initiate repository migrations (limit these to trusted admins), disabling open self-registration so untrusted users cannot obtain the authenticated foothold this requires, and network-segmenting the Gitea host so it cannot reach sensitive internal endpoints (cloud metadata services like 169.254.169.254, internal admin panels, databases) - the trade-off is that legitimate internal webhook targets and internal mirror sources will also be blocked. Review advisory GHSA-2r5c-gw76-rh3w for authoritative guidance.
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
Gitea is a self-hosted, open-source Git service (cpe:2.3:a:gitea:gitea_open_source_git_server) written in Go, comparable to a lightweight GitHub/GitLab. Two of its features make outbound HTTP requests on behalf of users: webhooks (which POST event payloads to user-configured URLs) and repository migration/mirroring (which fetches a remote repository from a user-supplied URL). Both are supposed to enforce an allow-list/deny-list to prevent requests to internal hosts, but this is a classic CWE-918 (SSRF) case where the URL/host validation is incomplete - likely bypassable via alternate IP encodings, DNS rebinding, redirects, or address forms the filter fails to normalize - allowing the trusted server to be turned into a request proxy into the internal network.
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:L/UI:N/S:C/C:H/I:H/A:N
Network-reachable feature abused by an authenticated low-priv user (PR:L); scope changes as requests hit other systems (S:C); SSRF primarily leaks internal data (C:H) with limited integrity impact (I:L) and no availability effect.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
DescriptionCVE.org
Gitea versions up to and including 1.26.2 have incomplete SSRF protection in webhook and migration allow-list filtering.
Executive ViewAI
Gitea versions 1.26.2 and earlier contain a server-side request forgery (SSRF) vulnerability in webhook and repository-migration features that allows authenticated users to bypass security controls and reach restricted internal services. Organizations using Gitea should immediately prioritize upgrading to version 1.26.3 to prevent insider threats or compromised accounts from accessing critical infrastructure such as internal databases, APIs, and administration interfaces. The vulnerability poses significant risk to organizations where Gitea is deployed with broad network access to sensitive systems.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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-918 – Server-Side Request Forgery (SSRF)
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-41618
GHSA-2r5c-gw76-rh3w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB