SSRF in Gitea
CVE-2026-70357
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.004 · 31.4th percentile
- Published
- 2026-10-06
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 31.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory GHSA-p3pc-g8m5-hrrr (vendor-advisory, Vendor Advisory)
- Fix: go-gitea/gitea pull request #39426 (Patch, patch)
- Gitea 28.0.0 release announcement (release-notes, Release Notes)
- go-gitea/gitea v28.0.0 release (release-notes, Release Notes)