Vulnerability · Published Aug 5, 2026 · Assigned by VulnCheck
CVE-2026-34966Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass
High 7.6
In plain English
A high-severity server-side request forgery in Gitea from Gitea. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.27.0 | GHSA-2wm4-vwp6-v7xc |
| Go | gitea.dev | 1.27.0 | GHSA-2wm4-vwp6-v7xc |
| Go | gitea.dev | 1.27.0 | GO-2026-6039 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N
References
- Product Advisory product
- GitHub Security Advisory vendor-advisory
- Patch Commit patch
- https://www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass third-party-advisory