CVE-2026-34966
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.
How to fix
- code.gitea.io/gitea1.27.0 or later
- gitea.dev1.27.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/giteaGo | v < 1.27.0 | 1.27.0 |
| gitea.devGo | v < 1.27.0 | 1.27.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.