PatchSiren cyber security CVE debrief
CVE-2026-70357 Gitea CVE debrief
Gitea repository migration SSRF through DNS rebinding allows attackers to access internal addresses. Gitea administrators and users who perform repository migrations should assess exposure and prioritize updating to version 28.0.0 or later. The vulnerability arises from Gitea's validation of repository migration hostnames against network allow and block lists before invoking Git, but the Git subprocess independently resolves the hostname when connecting. This can lead to potential SSRF vulnerability allowing access to internal addresses and possible unauthorized access to internal resources.
- Vendor
- Gitea
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-06
- Original CVE updated
- 2026-10-07
- Advisory published
- 2026-10-06
- Advisory updated
- 2026-10-07
Who should care
Gitea administrators and users who perform repository migrations, security teams, and operators should assess exposure and prioritize updating to version 28.0.0 or later. They should review Gitea version and migration configurations, and monitor repository migration activity for suspicious behavior.
Why it matters
The CVE-2026-70357 vulnerability in Gitea repository migration allows an attacker to potentially access internal addresses through SSRF. Gitea administrators and users who perform repository migrations should assess exposure and prioritize updating to version 28.0.0 or later.
- Potential SSRF vulnerability allowing access to internal addresses
- Possible unauthorized access to internal resources
- Need to verify Gitea version and migration configurations
- Priority on updating Gitea to version 28.0.0 or later
Technical 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. This can lead to potential SSRF vulnerability allowing access to internal addresses.
Defensive priority
medium
Recommended defensive actions
- Review and update Gitea to version 28.0.0 or later
- Restrict repository migration to trusted sources
- Monitor repository migration activity for suspicious behavior
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record and source item provide details on the SSRF vulnerability in Gitea repository migration. The affected version is Gitea 1.27.3 and earlier. Evidence limits are based on CVE Program and NVD details. Defenders should verify Gitea version and migration configurations. The CVE record was published on 2026-10-06T19:24:50.540Z and has not been modified since then.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-70357 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-70357
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-70357 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-70357
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea repository migration SSRF through DNS rebinding
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/70xxx/CVE-2026-70357.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/39426
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://blog.gitea.com/release-of-28.0.0/
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/releases/tag/v28.0.0
Supplemental source - release-notes
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.