← CVE Intelligence

CVE-2026-70357

Gitea repository migration SSRF through DNS rebinding PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Gitea / Giteaaffected 0 through 1.27.3

CWE

CWE-918

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.