CVE-2026-70357

HIGH CVSS 3.1: 7.5 EPSS 0.26%
Updated Oct 13, 2026
Gitea
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 28.0.0
Fixed In 28.0.0
Type CWE-918 (Server-Side Request Forgery (SSRF))
Vendor Gitea
Public PoC No

Gitea validates a repository migration hostname against its network allow and block lists before invoking Git, but the Git subprocess independently resolves the hostname when connecting. An attacker who can start a migration and control the destination's DNS can change the address between validation and connection to reach a blocked internal address. The affected path is the Git clone operation; validation in the migration HTTP client's dialer does not protect the independently connecting Git subprocess.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gitea Gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
— 28.0.0