{"id":"CVE-2026-34966","revision":"46e7cd297c61405b86c68402b19392b2","records":[{"revision":"46e7cd297c61405b86c68402b19392b2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-34966","aliases":[],"title":"Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass","description":"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.","state":0,"publishedAt":"2026-08-05T20:28:57.744+00:00","modifiedAt":"2026-10-08T15:22:30.708+00:00","affected":[{"ecosystem":"Vendor product","name":"Gitea","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"affected\",\n                    \"vendor\": \"Gitea\",\n                    \"product\": \"Gitea\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"1.26.4\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"1.27.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:golang/code.gitea.io/gitea\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.3,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","score":7.6,"severity":"HIGH"}],"references":["https://github.com/go-gitea/gitea","https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc","https://github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288","https://www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-34966","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-34966","identifiers":["CVE-2026-34966"]},"retained":false,"historicalAffected":[]}],"coverage":[]}