CVE-2026-70357 Gitea repository migration SSRF through DNS rebinding
HighCVSS 7.5
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | < 28.0.0; <= 1.27.3 | 28.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 1.27.3 | No fix listed |
| Gitea | < 28.0.0 | 28.0.0 |
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
- ENISA EUVD EUVD-2026-93917 third-party-advisory