{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-34966","id":"CVE-2026-34966","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 ","descriptionLong":"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.","published":"2026-08-05T20:28:57.744Z","updated":"2026-11-09T02:30:32.505591048Z","reserved":"2026-03-31T17:58:43.754Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.3,"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.3,"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"VulnCheck"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"vulncheck.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Gitea"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea","defaultStatus":"affected","versions":[{"status":"affected","version":"0","versionType":"semver","lessThanOrEqual":"1.26.4"},{"status":"unaffected","version":"1.27.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.27.0"],"fixed":["1.27.0"],"advisory":"GHSA-2wm4-vwp6-v7xc"},{"ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev","ranges":["<1.27.0"],"fixed":["1.27.0"],"advisory":"GHSA-2wm4-vwp6-v7xc"}],"cwes":["CWE-918"],"aliases":["BIT-gitea-2026-34966","CVE-2026-59765","GHSA-2wm4-vwp6-v7xc","GO-2026-6039"],"references":[{"url":"https://github.com/go-gitea/gitea","tags":["product","package"]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc","tags":["vendor-advisory","exploit","advisory","web"]},{"url":"https://github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288","tags":["patch","fix"]},{"url":"https://www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34966.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34966","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59765","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31","tags":["web"]},{"url":"https://blog.gitea.com/gitea-1.27.0-is-released","tags":["web"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00389,"epssPercentile":0.33776,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-34966","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34966","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-34966","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2wm4-vwp6-v7xc","ok":true,"note":"GHSA-2wm4-vwp6-v7xc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34966","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}