Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Migration feature is network-accessible and requires a low-privilege authenticated account (PR:L); SSRF yields internal data read only (C:H, I:N, A:N) with no scope change.
Primary rating from Vendor (Gitea).
CVSS VectorVendor: Gitea
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
1DescriptionCVE.org
SSRF via HTTP Redirect in Repository Migration
AnalysisAI
Server-Side Request Forgery (SSRF) via HTTP redirect in Gitea's repository migration feature affects all versions through 1.25.4, allowing an authenticated attacker to coerce the Gitea server into issuing HTTP requests to arbitrary internal network destinations by supplying a crafted migration URL that redirects to an internal address. The CVSS score of 6.5 (C:H) reflects that successful exploitation can expose sensitive internal service responses - including cloud metadata endpoints, internal APIs, or other intranet services - to the attacker. No public exploit or CISA KEV listing has been identified at time of analysis; a vendor patch is available in v1.26.3 and v1.26.4.
Technical ContextAI
CWE-918 (Server-Side Request Forgery) arises here because Gitea's repository migration subsystem performs server-side HTTP fetches of user-supplied URLs and follows HTTP redirects without validating that the redirect target remains within an approved network scope. This is a classic SSRF-via-open-redirect bypass: the initial URL may appear legitimate, but the server transparently follows a 301/302 redirect to an internal address (e.g., RFC1918 ranges, loopback, or cloud IMDS endpoints such as 169.254.169.254). The affected product is confirmed by CPE cpe:2.3:a:gitea:gitea_open_source_git_server:*:*:*:*:*:*:*:*, covering Gitea Open Source Git Server across all versions up to and including 1.25.4 per EUVD-2026-41602. The vulnerability is scoped to the migration/import feature, which is a standard capability of the platform.
RemediationAI
Upgrade to Gitea v1.26.3 or v1.26.4, both of which contain the fix per the vendor release announcements at https://github.com/go-gitea/gitea/releases/tag/v1.26.4 and https://blog.gitea.com/release-of-1.26.3-and-1.26.4/. The upstream code fix is tracked at https://github.com/go-gitea/gitea/pull/38108 - note that this reference points to a pull request rather than a tagged release, so the patched version is confirmed via the release references rather than the PR alone. As a compensating control where immediate upgrade is not possible, administrators should restrict repository migration permissions to trusted users only or disable the migration feature entirely via Gitea's admin panel (Administration > Settings > Repository > Disable Repository Migrations); disabling migration eliminates the vulnerable code path entirely at the cost of preventing legitimate repository imports. Additionally, network-level controls blocking the Gitea server process from initiating outbound connections to RFC1918 ranges and cloud metadata IPs (e.g., 169.254.169.254) will substantially reduce the blast radius if exploitation occurs, though this requires infrastructure-level firewall or egress filtering configuration.
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-918 – Server-Side Request Forgery (SSRF)
View allVendor StatusVendor
SUSE
Severity: Moderate| 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-41602
GHSA-rqhx-647v-wx32