Vulnerability · Published Oct 6, 2026 · Assigned by Gitea
CVE-2026-70357Gitea repository migration SSRF through DNS rebinding
High 7.5
In plain English
A high-severity server-side request forgery in Gitea from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- GitHub Security Advisory GHSA-p3pc-g8m5-hrrr vendor-advisory
- Fix: go-gitea/gitea pull request #39426 patch
- Gitea 28.0.0 release announcement release-notes
- go-gitea/gitea v28.0.0 release release-notes