CVE-2026-70357

Name
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Release Notes https://blog.gitea.com/release-of-28.0.0/
Patch https://github.com/go-gitea/gitea/pull/39426
Release Notes https://github.com/go-gitea/gitea/releases/tag/v28.0.0
Vendor Advisory https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* gitea >= None < 28.0.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gitea edge-community 1.27.3-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.27.1-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r4 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r3 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.3-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.3-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.3-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.6-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.6-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.6-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.5-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r3 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.0-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.8-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.7-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.7-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.6-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.6-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.5-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.5-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.1-r2 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.23.1-r1 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.23.1-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.22.6-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.22.5-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.22.4-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.21.3-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.17.3-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.16.7-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.16.3-r0 None possibly vulnerable
gitea edge-community 1.14.6-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.13.7-r0 None possibly vulnerable
gitea edge-community 1.13.7 None possibly vulnerable
gitea edge-community 1.13.6-r0 None possibly vulnerable
gitea edge-community 1.13.6 None possibly vulnerable
gitea edge-community 1.13.4-r0 None possibly vulnerable
gitea edge-community 1.13.2-r0 None possibly vulnerable
gitea edge-community 1.11.2-r0 None possibly vulnerable
gitea edge-community 1.5.2-r0 None possibly vulnerable
gitea edge-community 1.5.1-r0 None possibly vulnerable
gitea 3.24-community 1.25.4-r5 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea 3.24-community 1.25.4-r4 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea 3.24-community 1.25.4-r3 techknowlogick <techknowlogick@gitea.com> possibly vulnerable