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.
References
| Link | Resource |
|---|---|
| https://blog.gitea.com/release-of-28.0.0/ | Release Notes |
| https://github.com/go-gitea/gitea/pull/39426 | Patch |
| https://github.com/go-gitea/gitea/releases/tag/v28.0.0 | Release Notes |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr | Vendor Advisory |
Configurations
History
13 Oct 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://blog.gitea.com/release-of-28.0.0/ - Release Notes | |
| References | () https://github.com/go-gitea/gitea/pull/39426 - Patch | |
| References | () https://github.com/go-gitea/gitea/releases/tag/v28.0.0 - Release Notes | |
| References | () https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr - Vendor Advisory | |
| First Time |
Gitea gitea
Gitea |
|
| CPE | cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* |
07 Oct 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
06 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-06 20:17
Updated : 2026-10-13 17:16
NVD link : CVE-2026-70357
Mitre link : CVE-2026-70357
CVE.ORG link : CVE-2026-70357
JSON object : View
Products Affected
gitea
- gitea
CWE
CWE-918
Server-Side Request Forgery (SSRF)
