CVE Catalog

CVE-2026-70357

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

16th percentile - higher than 16% of all known CVEs

Summary

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.

Risk Assessment

Risk of using the Gitea server to access internal network resources that should be blocked, potentially leading to unauthorized data read or write.

Recommendation

Update Gitea to a version that ensures consistent address validation for the Git subprocess. Restrict migration initiation to trusted users.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS