Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd5328
- 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
- https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc
FAQ
What is CVE-2026-34966?
CVE-2026-34966 is a vulnerability with a CVSS score of 7.6 (HIGH). 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 ava...
How severe is CVE-2026-34966?
CVE-2026-34966 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-34966?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.