VYPR
High severity7.5NVD Advisory· Published Oct 6, 2026· Updated Oct 13, 2026

CVE-2026-70357

CVE-2026-70357

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.

Affected products

3
  • Go Gitea/Gitea2 versions
    cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*range: <28.0.0
    • (no CPE)
  • osv-coords
    Range: < 28.0.0

Patches

Vulnerability mechanics

References

4

News mentions

3