CVE-2026-70357
7.5high
Gitea repository migration SSRF through DNS rebinding
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- BIT-GITEA-2026-70357GHSA-p3pc-g8m5-hrrr
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
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | up to 1.27.3 | CVE List |
| gitea gitea | before 28.0.0 | NVD |
| gitea (Bitnami) | before 28.0.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr | advisory, vendor-advisory | |
| https://github.com/go-gitea/gitea/pull/39426 | fix, patch | |
| https://blog.gitea.com/release-of-28.0.0/ | article, release-notes | |
| https://github.com/go-gitea/gitea/releases/tag/v28.0.0 | article, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-70357 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-70357 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-70357 changed 2026-10-13 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2026-70357 changed 2026-10-14 | Apache-2.0 |