{"cve":"CVE-2026-34966","nvd":{"published":"2026-08-05T21:16:58.187","modified":"2026-10-08T16:17:13.850","status":"Deferred","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.","cvss_v4":{"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},"cvss_v3":{"version":"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},"cwes":["CWE-918"],"references":["https://github.com/go-gitea/gitea","https://github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288","https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc","https://www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass","https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:47:10.050265369+00:00"},"epss":{"cve":"CVE-2026-34966","score":0.00389,"percentile":0.32763,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2wm4-vwp6-v7xc","url":"https://osv.dev/vulnerability/GHSA-2wm4-vwp6-v7xc","summary":"Gitea: SSRF via Migration Asset Downloads Bypasses hostmatcher — Reads Internal Files and Cloud Metadata","modified":"2026-10-14T11:11:12.586131494Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.27.0"],"fixed":["1.27.0"]},{"ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev","ranges":["<1.27.0"],"fixed":["1.27.0"]}]},{"id":"GO-2026-6039","url":"https://osv.dev/vulnerability/GO-2026-6039","summary":"Gitea: SSRF via Migration Asset Downloads Bypasses hostmatcher — Reads Internal Files and Cloud Metadata in gitea.dev","modified":"2026-10-14T11:11:12.586131494Z","packages":[{"ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev","ranges":["<1.27.0"],"fixed":["1.27.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}