CVE-2026-70357
7.5 HIGHpublic exploit availablePublished 2026-10-06 · Updated 2026-10-07
AI risk analysis
- Summary
- Gitea's repository migration feature fails to protect against DNS rebinding attacks where an attacker can manipulate DNS resolution between hostname validation and actual Git connection, potentially allowing access to internally blocked repositories. This creates a window where validated external hostnames can be redirected to internal addresses that would otherwise be blocked.
- Exploitability
- Moderately difficult to exploit as it requires controlling DNS for the destination hostname during migration, but attackers can leverage this to bypass network allow/block lists by changing DNS records between validation and connection phases.
- Blast radius
- Affects repository migrations in Gitea instances that allow external repository imports, potentially exposing internal repositories to attackers who control DNS for migration destinations.
- Detection
- Monitor for unusual repository migration activity, particularly migrations targeting external hosts that are not in the configured allow list, and check for Git subprocess connections to internal addresses that would normally be blocked.
- Prioritized remediation
- Upgrade to Gitea version 2.590 or later to receive the fix for CVE-2026-70357.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-918
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-102091PoC
- CRITICALCVE-2026-102105PoC
- HIGHCVE-2026-104636PoC
- HIGHCVE-2026-47618PoC
- CRITICALCVE-2026-69435
- HIGHCVE-2026-70485PoC
- HIGHCVE-2026-89430PoC
- CRITICALCVE-2017-20242
Related by shared AI tags and CWE weakness class. Browse the full archive.