{"id":"CVE-2026-34966","summary":"Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass","details":"Gitea prior to 1.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to bypass SSRF protections by exploiting HTTP fetch operations in migration and OAuth avatar code paths that use Go's default http.Get without a custom DialContext. Attackers can supply arbitrary URLs through release asset download URLs, pull-request patch URLs, or OAuth avatar endpoints to reach internal services, cloud instance-metadata endpoints, or read local files such as the application configuration containing database credentials and signing secrets, with exfiltrated content persisted as migration release assets for later retrieval.","aliases":["CVE-2026-59765","GHSA-2wm4-vwp6-v7xc","GO-2026-6039"],"modified":"2026-08-08T03:30:24.293010499Z","published":"2026-08-05T20:28:57.744Z","database_specific":{"cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34966.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34966.json"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34966"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-gitea/gitea","events":[{"introduced":"0"},{"fixed":"b969123b7fac51c88daab5cb64e5b2f4abd53288"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"last_affected":"1.26.4"}]}}],"versions":["v1.27.0-rc0","v1.28.0-dev","v1.27.0-dev","v1.26.0-dev","v1.25.0-dev","v1.24.0-dev","v1.22.0-rc1","v1.23.0-dev","v1.22.0-rc0","v1.21.0-rc0","v1.22.0-dev","v1.20.0-rc0","v1.21.0-dev","v1.20.0-dev","v1.19.0-rc0","v1.18.0-rc0","v1.19.0-dev","v1.18.0-dev","v1.17.0-dev","v1.16.0-rc1","v1.15.0-rc1","v1.16.0-dev","v1.15.0-dev","v1.14.0-dev","v1.13.0-dev","v1.12.0-dev","v1.10.5","v1.11.0-rc1","v1.10.0-rc1","v1.11.0-dev","v1.9.0-rc1","v1.10.0-dev","v1.9.0-dev","v1.7.0-dev","v1.6.0-rc1","v1.6.0-dev","v1.5.0-rc1","v1.5.0-dev","v1.1.0","v1.0.0","v0.9.99"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34966.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N"}]}