CVE-2026-34966
Gitea prior to 1.27.0 contains a server-side request forgery …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/go-gitea/gitea
- github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288
- github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc
- www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass
- nvd.nist.gov/vuln/detail/CVE-2026-34966
- cve.org/CVERecord?id=CVE-2026-34966
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.