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.
History

Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

Wed, 07 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Tue, 06 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Gitea repository migration SSRF through DNS rebinding
Weaknesses CWE-918
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-10-06T19:24:50.540Z

Updated: 2026-10-07T20:12:56.425Z

Reserved: 2026-08-13T16:50:59.173Z

Link: CVE-2026-70357

cve-icon Vulnrichment

Updated: 2026-10-07T20:12:52.591Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T20:17:28.883

Modified: 2026-10-13T17:16:32.907

Link: CVE-2026-70357

cve-icon Redhat

No data.