Skip to content

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.

PackageAffectedFixed inStatus
Gitea < 28.0.0; <= 1.27.3 28.0.0 Fixed

Affected products

ProductAffected versionsFixed in
Gitea <= 1.27.3 No fix listed
Gitea < 28.0.0 28.0.0

References