{"api_version":"1","generated_at":"2026-10-06T21:46:10+00:00","cve":"CVE-2026-70357","urls":{"html":"https://cve.report/CVE-2026-70357","api":"https://cve.report/api/cve/CVE-2026-70357.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-70357","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-70357"},"summary":{"title":"Gitea repository migration SSRF through DNS rebinding","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.","state":"PUBLISHED","assigner":"Gitea","published_at":"2026-10-06 20:17:28","updated_at":"2026-10-06 20:17:28"},"problem_types":["CWE-918","CWE-918 CWE-918: Server-Side Request Forgery (SSRF)"],"metrics":[],"references":[{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","name":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/39426","name":"https://github.com/go-gitea/gitea/pull/39426","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://blog.gitea.com/release-of-28.0.0/","name":"https://blog.gitea.com/release-of-28.0.0/","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr","name":"https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-70357","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70357","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Gitea","product":"Gitea","version":"affected 1.27.3 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"https://github.com/tikket1","lang":"en"},{"source":"CNA","value":"https://github.com/SAJ0x00IN","lang":"en"},{"source":"CNA","value":"https://github.com/vuductruong12","lang":"en"},{"source":"CNA","value":"https://github.com/lilmingwa13","lang":"en"},{"source":"CNA","value":"https://github.com/rajivraj","lang":"en"},{"source":"CNA","value":"https://github.com/ahmdobeidat","lang":"en"},{"source":"CNA","value":"https://github.com/TheFox0x7","lang":"en"},{"source":"CNA","value":"https://github.com/silverwind","lang":"en"},{"source":"CNA","value":"https://github.com/bircni","lang":"en"},{"source":"CNA","value":"https://github.com/wxiaoguang","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"gitea.dev","product":"Gitea","vendor":"Gitea","versions":[{"lessThanOrEqual":"1.27.3","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"https://github.com/tikket1"},{"lang":"en","type":"reporter","value":"https://github.com/SAJ0x00IN"},{"lang":"en","type":"finder","value":"https://github.com/vuductruong12"},{"lang":"en","type":"analyst","value":"https://github.com/lilmingwa13"},{"lang":"en","type":"reporter","value":"https://github.com/rajivraj"},{"lang":"en","type":"reporter","value":"https://github.com/ahmdobeidat"},{"lang":"en","type":"remediation developer","value":"https://github.com/TheFox0x7"},{"lang":"en","type":"remediation developer","value":"https://github.com/silverwind"},{"lang":"en","type":"remediation developer","value":"https://github.com/bircni"},{"lang":"en","type":"remediation developer","value":"https://github.com/wxiaoguang"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-06T19:24:50.540Z","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea"},"references":[{"name":"GitHub Security Advisory GHSA-p3pc-g8m5-hrrr","tags":["vendor-advisory"],"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr"},{"name":"Fix: go-gitea/gitea pull request #39426","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/39426"},{"name":"Gitea 28.0.0 release announcement","tags":["release-notes"],"url":"https://blog.gitea.com/release-of-28.0.0/"},{"name":"go-gitea/gitea v28.0.0 release","tags":["release-notes"],"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0"}],"title":"Gitea repository migration SSRF through DNS rebinding"}},"cveMetadata":{"assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","assignerShortName":"Gitea","cveId":"CVE-2026-70357","datePublished":"2026-10-06T19:24:50.540Z","dateReserved":"2026-08-13T16:50:59.173Z","dateUpdated":"2026-10-06T19:24:50.540Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-06 20:17:28","lastModifiedDate":"2026-10-06 20:17:28","problem_types":["CWE-918","CWE-918 CWE-918: Server-Side Request Forgery (SSRF)"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"70357","Ordinal":"1","Title":"Gitea repository migration SSRF through DNS rebinding","CVE":"CVE-2026-70357","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"70357","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Gitea repository migration SSRF through DNS rebinding"}]}}}