CVE-2026-70357 Gitea repository migration SSRF through DNS rebinding

High 7.5 Published Updated

Attackers can bypass network restrictions during repository migration via DNS rebinding to access internal services.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-70357?

CVE-2026-70357 is a high-severity server-side request forgery vulnerability in Gitea Gitea, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-918

Which versions are affected by CVE-2026-70357?

1 open source package ship an affected version, including gitea. It affects 1 product.

PackageAffectedFixed in
gitea BitnamiAll versions28.0.0

Products include Gitea Gitea.

How do I fix CVE-2026-70357?

Upgrade gitea to 28.0.0 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-70357 being exploited?

There is no known exploitation of CVE-2026-70357 in the wild and no public exploit code.

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2026-70357, GHSA-p3pc-g8m5-hrrr, MINI-38qh-v4c4-j849, MINI-9w98-x447-fr5h.

Is CVE-2026-70357 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free